Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For our small business network, we host our own internal DNS (Named/Bind) server. However, our corporate website is hosted externally by GoDaddy.

We are able to access our external website if we use But if we try it without the www, the browser cannot resolve the address. Also I notice that at the command prompt, we can successfully ping but not These problems only appear to be an issue from within our corporate network.

Anyways, here is part of our named zone file:

$ORIGIN    IN A        173.201.XXX.XXX
www               IN A        173.201.XXX.XXX
server1           IN A
server2           IN A
serverA           IN CNAME
serverB           IN CNAME


(note: 173.201.XXX.XXX is the GoDaddy address our website is hosted at)

So what am I doing wrong with the DNS configuration here? Do I need to post my named.conf?

Also, is there any way to have DNS log all DNS requests so that I can look at the log and see exactly what zone config/zone file is being used when someone makes a request?

share|improve this question
Does your internal network have a windows AD. Do you use the same domain for your internal network? – Zoredache Aug 25 '10 at 17:22
no AD. LDAP only. – Jake Wilson Aug 25 '10 at 20:16
up vote 4 down vote accepted

You forget a dot at the end of the name In fact, here, you create an address, with the ORIGIN tag

share|improve this answer
That did it. Silly mistake on my part. It took a few minutes before my PC would see the change for some reason, even though the DNS server could ping it immediately. It worked though. Thanks! – Jake Wilson Aug 25 '10 at 17:29

Try putting a dot on the end of in the following line:    IN A        173.201.XXX.XXX

i.e. make it:    IN A        173.201.XXX.XXX

Or change    IN A        173.201.XXX.XXX


          IN A        173.201.XXX.XXX

I think that with your current config would work.

The reason is that the the names you specify in the A and CNAME records are appended with the domain/name defined in the ORIGIN, i.e. they are relative to the ORIGIN, unless you make them fully qualified domain names.

Putting a . on the end of makes it fully qualified.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.