Old 27th January 2013, 02:48
amplex amplex is offline
Junior Member
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Ubuntu 12: BIND issue

I have been working on this issue on my ubuntu server 12 vm for hours. I got the zone file to read correctly by named earlier in the day then changed some syntax somewhere and could not figure out the issue so I used a web based PHP zone file creator and just plugged in a hosts file. This works, except for the raw domain itself. Other domains seem to work fine with nslookup such as google.com, amazon.com, etc.

I have a domain that has been pointed to my IP for months. I have no problem looking it up from anywhere, but the DNS on my server is not working 100%. I can query nslookup for all hosts on my domain (www.example.com, mail.example.com, etc), except I cannot query for the domain itself (example.com). Reverse DNS works fine as well. The last line is the one I added which doesnt specify a host but I thought might help resolve example.com without a hostname.

Here is the contents of my domain's zone file:

; BIND db file for example.com

$TTL 86400

@ IN SOA lateralus.example.com. amplex.example.com. (
2013012702 ; serial number YYMMDDNN
28800 ; Refresh
7200 ; Retry
864000 ; Expire
86400 ; Min TTL

NS lateralus.example.com.

MX 10 mail.example.com.

$ORIGIN example.com.

lateralus IN A
gw IN A
mail IN A

www IN CNAME lateralus
IN CNAME lateralus

Here is the output from nslookup:

root@lateralus:/etc/bind/zones# nslookup example.com

*** Can't find example.com: No answer

root@lateralus:/etc/bind/zones# nslookup www.example.com

www.example.com canonical name = lateralus.example.com.
Name: lateralus.example.com
Reply With Quote
Sponsored Links


dns bind9 ubuntu zone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Denied Bind Slave Server Problems wxman Server Operation 17 22nd March 2014 13:30
ISPConfig Bind offline bobwdn Installation/Configuration 19 27th January 2009 19:26
VMware issue with Ubuntu 7.10 koka424 Technical 3 14th December 2007 14:28
ISPConfig and BIND on Debian sarge (rfc1912 : failed on zonecheck) arnaud Installation/Configuration 13 6th March 2007 13:40
Log for Debugging jwan Installation/Configuration 5 27th October 2006 15:34

All times are GMT +2. The time now is 06:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.