i've been working on this for hours trying everything i could think of. i tried numerous examples off of google, and nothing has worked. hopefully someone here can help. as a note, i just want this to work, so these files are stripped down.
here is my etc/named.conf
Code:
options {
directory "/var/cache/bind";
auth-nxdomain no;
};
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// add entries for other zones below here
zone "rsmith.org" {
type master;
file "/etc/bind/db.rsmith.org";
};
zone "27.168.192.in-addr.arpa"{
type master;
file "etc/bind/db.27.168.192";
};
here is my /etc/bind/db.rsmith.org
Code:
$TTL 3600
rsmith.org. IN SOA ns.rsmith.org. rsmith.rsmith.org.(
00100; Serial
21600; refresh
3600; Retry
604800; Expire
3600 ); minimum
IN NS ns.rsmith.org.
IN NS ns2.rsmith.org.
IN A 192.168.27.2
here is my /etc/bind/db.27.168.192
Code:
$TTL 3600
27.168.192.in-addr.arpa. IN SOA ns.rsmith.org. rsmith.rsmith.org. (
00010 ; Serial
21600 ; Refresh
3600 ; Retry
604800 ; Expire
3600) ; Negative TTL
27.168.192.in-addr.arpa. IN NS ns.rsmith.org.
27.168.192.in-addr.arpa. IN NS ns2.rsmith.org.
2 IN PTR rsmith.org.
this all exists under a uml environment -- debian.
the name servers there are the ones i have to use.
the ip address is the one i have to use.
rsmith.org is what i'm supposed to use.
when i run nslookup on rsmith.org, i get the ip the server holding some webpage rsmith.org
when i run nslookup on the ip 192.168.27.2, i'm given:
** server can't find 2.27.168.192.in-addr.arpa: NXDOMAIN
does anybody have any clue as to what i messed up?