Building a fresh named.root

Robert Moskowitz rgm at htt-consult.com
Fri Feb 15 21:01:29 UTC 2013


On 02/15/2013 03:40 PM, Chris Buxton wrote:
> On Feb 15, 2013, at 9:57 AM, Robert Moskowitz wrote:
>> I will do some more testing with this to see if I can indeed remove the root.hint includes.  But I have a question.  I have tried to dig in my server for the root info like you can a root server, but obviously this is not the way to do it, as I get an empty list eventhough I know I can resolve names that I am not authoritative for.
>>
>> I tried
>>
>> dig +bufsize=4096 . ns @localhost
>>
>> (and without the bufsize) and it comes back with a warning that recursion requested but not available and an empty list.  More interestingly is that in /var/log/messages it shows:
>>
>> named[2872]: client ::1#57049: view external: query (cache) './NS/IN' denied
>>
>> I would think this should go to my internal view?  I even put 127.0.0.1 into my match-clients/destinations network list and it is still using the external view.
>
> The hostname 'localhost' can mean different things to different computers. It probably means ::1 (IPv6 localhost) in this case. Try explicitly specifying the IP address rather than using the hostname.

I just looked at the dig results using localhost again, and there it 
was, ::1!

I also realize that I have to add my IPv6 prefix to my allowed internal 
addresses, along with ::1





More information about the bind-users mailing list