Strange DNS problem - works without the www but not with!
Joseph S D Yao
jsdy at cospo.osis.gov
Wed Sep 20 20:15:04 UTC 2000
On Wed, Sep 20, 2000 at 12:39:43AM +0000, Steve wrote:
> Hello,
>
> I am experiencing some strange problems with my dns setup, and I can't
> figure it out. I am attempting to set it up so that
> www.priority1res.com and priority1res.com to resolve to the same
> place. For some reason a dig on the dns server works for both, but
> from remote sites priority1res.com works but www.priority1res.com
> times out. I have other virtual hosts set up the same way, and they
> work. I can't figure it out.
>
> Here is my db.priority1res.com file:
> ----cut----
> priority1res.com. IN SOA priority1res.com.
> hostmaster.priority1res.com.
> ( 20000530 ; Serial (YYMMDD)
> 10800 ; Secondarys refresh after 3 hours
> 3600 ; Secondarys retry after 1 hour
> 604800 ; Secondaries expire after 1 week
> 86400 ) ; TTL of one day (86400 seconds)
>
> IN NS dns1.priority1res.com.
> www.priority1res.com. IN A 216.240.45.182
> priority1res.com. IN A 216.240.45.182
>
> dns1 IN CNAME zoe.exit1mile.com.
> ns1 IN CNAME zoe.exit1mile.com.
> ns2 IN CNAME uma.exit1mile.com.
> web IN CNAME www.priority1res.com.
> pop IN CNAME zoe.exit1mile.com.
> pop3 IN CNAME zoe.exit1mile.com.
> priority1res.com. IN MX 10 zoe.exit1mile.com.
> ------cut------
>
> Here is a dig done on the dns server:
> -----cut-------
> ; <<>> DiG 2.2 <<>> www.priority1res.com
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
> ;; flags: qr aa rd ra; Ques: 1, Ans: 1, Auth: 1, Addit: 0
> ;; QUESTIONS:
> ;; www.priority1res.com, type = A, class = IN
>
> ;; ANSWERS:
> www.priority1res.com. 86400 A 216.240.45.182
>
> ;; AUTHORITY RECORDS:
> priority1res.com. 86400 NS dns1.priority1res.com.
>
> ;; Total query time: 4 msec
> ;; FROM: zoe.exit1mile.net to SERVER: default -- 127.0.0.1
> ;; WHEN: Wed Sep 20 09:37:55 2000
> ;; MSG SIZE sent: 38 rcvd: 89
> --------cut---------
>
> When I try www.priority1res.com from a remote location, I get a
> non-existent host/domain. But priority1res.com works fine. I am
> pulling my hair out. Any ideas?
>
> Thanks!
Your host is not having authority for its zone delegated to itself.
priority1res.com nameserver = FRED.CAMCO-MFG.COM
priority1res.com nameserver = BARNY.CAMCO-MFG.COM
FRED.CAMCO-MFG.COM internet address = 216.240.45.189
BARNY.CAMCO-MFG.COM internet address = 216.240.45.190
You can make whatever changes you want on your system, and nobody but
you will ever see them unless Fred and "barny" also display them.
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list