[Pdns-users] some basic question for master
zaphodb at zaphods.net
Mon Mar 18 14:02:10 UTC 2013
On Mon, Mar 18, 2013 at 1:59 PM, Bill Yuan <bycn82 at gmail.com> wrote:
> i have some question, i tried to google the answer, but for a newbie as me
> ,i think how to key-in the right keyword also a big problem,
Not confusing terminology is always a good start to ask the right questions.
In the subject of this email you have a "question for master" which will
lead experienced DNS operators in the direction that you might have a
question about the workings of an authoritative DNS server operating as a
master for some zone whereas it seems to me reading on that your interest
actually is with PowerDNS recursor. So a totally different beast. Let me
point you to the excellent wikipedia article about DNS for working out the
correct terms for most things DNS.
> 1, the zone-file, how come the recursor know whether to query and
> resolve the domain ? i think it is configured in the forward-zone-file,
> and currently i configured "*.=188.8.131.52" in the zone-file, so does it mean
> that for all domains , the recursor will use 184.108.40.206
It actually is forward-zones-file where zone is in the plural. It is a file
where you specify which zones will get forwarded to which authoritative
As is documented at
Calling the mentioned file a zonefile however is misleading at best as this
name is commonly used to refer to a file holding the actual data that
authoritative Nameservers such as BIND serve. See
You will find that it is also documented that the forward-zones-file option
will not set the recursion desired bit when forwarding the queries, so if
your destination nameserver is a recursive one the forward-zones-recurse
option is what you will want to use instead.
For forwarding all queries to a recursive Nameserver the single dot without
any asterisks will denote the DNS root and hence by specifying .=220.127.116.11
all your queries will be forwarded to 18.104.22.168 unless they can be answered
by the configured backends.
However please read http://cr.yp.to/djbdns/separation.html on why doing
this is usually a bad idea.
> 2, how can i resolve the server name? when i run command nslookup on my
> windows xp, i saw the info below
> Server: 22.214.171.124.in-addr.arpa
> Address: 192.168.1.1
> My question is how can i change the server name, the name here
> 126.96.36.199.in-addr.arpa looks wired.
I am not a windows professional but my guess is that Windows tries to
resolve the configured Nameservers name and that your home router which is
likely 192.168.1.1 resolves itself like that. The DNS Address 192.168.1.1
will most likely be automatically assigned via DHCP, you should be able to
For actually testing DNS responses however dig is a tool much better suited
for that than nslookup. You should be able to get it from ISCs BIND for
Windows suite i think.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pdns-users