Help for a newbie
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Tue Sep 4 01:44:38 UTC 2001
> I'm looking for a little bit of help, I am quite new to the DNS area while I
> think I have a fairly good grasp of the concepts I'm finding that I'm having
> a problem getting going on my set-up. I would like to set-up a caching name
> server on my home gateway machine which filters incoming/outgoing IP
> traffic, though I'd like it to respond to requests for my internal machine
> names, I've read the DNS howto and have successfully set-up an internal
> zone, now my problem is reverse lookups, I cannot seem to be able to get dig
> and/or bind to respond correctly to the following query "dig -x 192.168.0.3
> axfr" now I'm copying this line verbatim from the DNS HOWTO, and I've posted
> prior, asking about this and was told that the problem is that axfr is some
> sort of zone transfer command, so my problem is that if I drop the axfr I
> get some response that the server finds the 192.168.0.3 address somewhere
> out there on the net (the domain eludes me at this point), can someone point
> me in the right direction for some simple documentation, I seem to keep
> running into minor issues out there which kinda seem to confuse the hell
> outta me (call me dense) :). Thanks in advance for any help.
>
> Dan
No. You were told to use the name of the zone as the arguement
to dig.
named.conf:
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0.db";
};
127.0.0.db:
$TTL 86400
@ SOA ns.example.com. hostmaster.example.com. (
1 3600 1200 2419200 7200 )
NS ns.example.com.
1 PTR localhost.
"dig axfr 0.0.127.in-addr.arpa @ns.example.com" will work as it
refers to a zone.
"dig axfr 1.0.0.127.in-addr.arpa @ns.example.com" will not work
as it does not refer to a zone but a record in a zone.
"dig -x 127.0.0.1 axfr" is shorthand for
"dig axfr 1.0.0.127.in-addr.arpa".
Now is it clear "dig -x 192.168.0.3 axfr" failed.
Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list