LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2011, 07:33 PM   #1
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Zone file messup


Hey guys,

Wonder if anybody could help me; I've got an instance of BIND/named which wont start. The logs give me instances such as:

Code:
zone thegreatgift.co.uk/IN: NS 'ns1.dnsmerlin.com.thegreatgift.co.uk' has no address records (A or AAAA)
zone thegreatgift.co.uk/IN: NS 'ns2.dnsmerlin.com.thegreatgift.co.uk' has no address records (A or AAAA)
zone thegreatgift.co.uk/IN: not loaded due to errors.
_default/thegreatgift.co.uk/IN: bad zone
The zone file looks as per:

Code:
$TTL 14400
@       IN      SOA     ns1.dnsmerlin.com      hostmaster.thegreatgift.co.uk. (
                                                2009110800
                                                14400
                                                3600
                                                1209600
                                                86400 )

thegreatgift.co.uk.   14400     IN      NS      ns1.dnsmerlin.com
thegreatgift.co.uk.   14400     IN      NS      ns2.dnsmerlin.com

ftp 14400       IN    A 85.13.202.186
localhost       14400 IN        A       127.0.0.1
mail 14400      IN    A 85.13.202.186
pop 14400       IN    A 85.13.202.186
smtp 14400      IN    A 85.13.202.186
thegreatgift.co.uk.   14400     IN      A       85.13.202.186
www 14400       IN    A 85.13.202.186

thegreatgift.co.uk.   14400     IN      MX      10 mail



thegreatgift.co.uk.   14400     IN      TXT     "v=spf1 a mx ip4:85.13.202.186 ~all"
Any thoughts? I know its simple, and other domains work, but I can't get it- I think I've spent too long staring at it
 
Old 04-27-2011, 12:08 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You miss all the trailing dots of the NS records (the dot at the end of nsX.dnsmerlin.com):
Code:
$TTL 14400
@       IN      SOA     ns1.dnsmerlin.com.      hostmaster.thegreatgift.co.uk. (
--snip--
thegreatgift.co.uk.   14400     IN      NS      ns1.dnsmerlin.com.  
thegreatgift.co.uk.   14400     IN      NS      ns2.dnsmerlin.com.  

--snip--
Increase the serial and reload the zone
 
Old 04-27-2011, 12:27 AM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Original Poster
Rep: Reputation: 70
Dammit!

Thanks a lot, I'm annoyed it was something so simple- guess thats the problem with trying to overthink it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
How to share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 08:20 AM
Grub MBR messup badgerbox76 Linux - Newbie 5 04-15-2006 05:26 PM
Serious messup MylesCLin Linux - Newbie 3 12-17-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration