LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   bind9 zones config files help (https://www.linuxquestions.org/questions/linux-server-73/bind9-zones-config-files-help-587302/)

lucastic 09-25-2007 02:14 PM

bind9 zones config files help
 
I have no problem with bind when using subdomain names.

e.g. www.mysite.com works

but mysite.com says no DNS entry.

Here is my BIND9 zone file (replaced domain name)

$TTL 3D

mysite.org. IN SOA ns.mysite.org. hostmaster.mysite.org. (
199802151 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns ; Inet Address of name server
NS ns1.mydnsserver.org
MX 10 mail ; Primary Mail Exchanger
ns A 12.121.12.121;
www CNAME ns



Can anyone tell me what I'm doing wrong?

Thanks

bathory 09-25-2007 04:24 PM

You miss the origin (@). Add a line like this:
Code:

@ A 12.121.12.121;


All times are GMT -5. The time now is 04:51 AM.