Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Loading a zone without A entries

0

63 views

I's like to load a zone which has a NS specified by no A. It's going to be used for dynammic updates (basic zone has to exist before the updates are done). This used to work with bind version 9.3.4, but after migrating to 9.7.3, I get for example:

zone localhost/IN: NS 'localhost' has no address records (A or AAAA)
zone localhost/IN: not loaded due to errors.

Since the zone is going to be updated later on, I don't care about the missing entries. Is there some way to turn off this check and bring back the previous behaviour?

The example zone I'm testing is:

$ORIGIN .
$TTL 86400
localhost IN SOA localhost. root.localhost. (
16 ;
28800 ;
7200 ;
604800 ;
86400 ;
)
    NS localhost.
$ORIGIN localhost.

I know I can easily add the A record, but since those files are autogenerated in my case, I'd like to avoid it.

asked June 3, 2011 11:15 am CDT
posted via ServerFault

1 Answers

2
 

You need to add an A record for localhost, otherwise how would you resolve what NS localhost. is? Without an at least an A record for that, this zone is unusable. Bascially, you need to be able to resolve the nameserver record, autogenerated or not.

answered June 7, 2011 10:35 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions