[Pdns-users] hints-file format

Peter Fern pdns at obfusc8.org
Sat Nov 19 15:31:27 UTC 2005

Umm, ok, excuse my ignorance - I was hoping that this would allow me to 
enable 'fake' domains from the recursor by specifying our servers in the 
list, but obviously it won't respond to the '' NS query, so a better 
question that I might have asked is:

How difficult would it be to support a scheme similar to the djbdns 
'root/servers/' list of NS to query on a per tld basis, for example we 
currently use:

$ cat root/servers/@

$ cat root/servers/ispname

to make our fake internal addresses available to local users.  I realise 
that I could run instances of the full pdns server that allow recursion 
and query the backend for these answers using 
'allow-recursion-override', but I would prefer not to have the recursors 
querying the backend directly - they should really only do recursion, 
and running the full pdns just to do this really seems like overkill - 
especially since this increases hits to the backend for non-existant 

I would think this moderately trivial to implement using something like 
a 'forward-file' in the format of:

.ispname                  xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

or similar...thoughts?


Peter Fern wrote:

> Beautiful, thanks
> bert hubert wrote:
>> On Sat, Nov 19, 2005 at 01:30:29PM +1100, Peter Fern wrote:
>>> Could someone please tell me what the format is for the new 
>>> hints-file parameter of pdns_recursor?  I'm wanting to get 
>>> pdns_recursor to return some custom internal domains that we have 
>>> set up so that I can drop djbdns entirely from the network and run 
>>> purely on pdns.
>> It takes both the "regular" root.hints and the ORSN hints file 
>> directly, so
>> like this:
>> ..                       3600000 IN NS   A.ORSN-SERVERS.NET.
>> A.ORSN-SERVERS.NET.     3600000 IN A
>> ....
>> I don't think it deals with non-numerical TTLs yet.
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

More information about the Pdns-users mailing list