Hi,
We know the option export-etc-hosts=on will export records from
/etc/hosts to pdns recursor. But I found the records are not always
available.
For example, I register a domain test.com whose nameserver is ns.test.com,
and the glue record for ns.test.com is 1.1.1.1.
Now in /etc/hosts I have 192.168.0.1 ns.test.com. When I lookup
ns.test.com at recursor right after recursor starts, I will get
ns.test.com IN 192.168.0.1. And then I lookup www.test.com, the recursor
will try to lookup the record from 192.168.0.1, which is what I expected.
However, if I first lookup www.test.com after recursor starts, the
recursor will finally go to 1.1.1.1 to lookup the record. At the same time,
recursor will cache the record ns.test.com IN 1.1.1.1 in stead of
192.168.0.1.
Hmm, I got the option forward-zones just now. It's much better than
export-etc-hosts.
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users