1830233 Members
1859 Online
109999 Solutions
New Discussion

Re: DNS SOA issue?

 
SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

DNS SOA issue?

Guys i have a question i have designed and built a new dns enviroment everything works as expected except that when i try and resolve address without www.
I.E.
www.example.com works
but
example.com does not.
could it need another SOA record or an i missing something everything i look at seems correct and everything else works fine.
andrew
5 REPLIES 5
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: DNS SOA issue?

Hi,

; zone file fragment for example.com
....
; SOA NS MX and other stuff

; define an IP that will resolve example.com
IN A 192.168.0.3
; you could also write the above line as
; example.com. IN A 192.168.0.3
www IN CNAME example.com. ; dot essential
; aliases www.example.com to example.com
; OR define another A record for www using same host
; this is the least number of changes and saves a CNAME
www IN A 192.168.0.3

mikap

good link :

http://www.zytrax.com/books/dns/


Matti_Kurkela
Honored Contributor

Re: DNS SOA issue?

The SOA record for "example.com." is mandatory for the existence of a domain, but if you want the "example.com" to be resolvable to an IP address, you will need an A or a CNAME record for it too.

For example:
@ IN CNAME www.example.com.

Very often, the origin name of the zone (example.com here) is associated with www.. If web service is not desired, a common second choice is the mail server of the domain.

If your domain is supposed to receive mail using addresses like someone@example.com, you should have explicit MX record(s) for the origin name too, identifying the mail server host(s) that receive mail from the outside. (MXs have nothing to do with outgoing mail - the outgoing mail server may be completely different!)

@ IN MX 1 mail.example.com.
@ IN MX 2 backupmail.example.com.

It is technically possible to leave the origin name without an IP association (as you ended up doing), but usually it is not what people want.

MK
MK
Steven E. Protter
Exalted Contributor

Re: DNS SOA issue?

Shalom,

SOA should have an SOA record that revers to example.com if you want that to resolve.

Maybe the owners of that domain DO NOT want it to resolve, hence its omission.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Taifur
Respected Contributor

Re: DNS SOA issue?

Hi Andrew,

Check below link for details,

http://www.charvolant.org/~doug/network/html/node10.html

If it helps, pls assign point.

Rgds//
Taifur
Andrew medhurst1
Frequent Advisor

Re: DNS SOA issue?

thanks for the responses guys but i have found issue i believe, it was config in named.conf.
regards
Andrew