I edited my logic.bs.db file to this:
Code:
logic.bs. IN SOA ns1.logic.bs. admin.logic.bs. (
// Do not modify the following lines!
2006081401
28800
3600
604800
38400
)
// Replace the following line as necessary:
// ns1 = DNS Server name
// mta = mail server name
// example.com = domain name
logic.bs. IN NS ns1.logic.bs.
logic.bs. IN MX 10 client1.logic.bs.
// Replace the IP address with the right IP addresses.
client1 IN A 192.168.153.128
server IN A 192.168.153.254
s1 CNAME server
And also edited the reverse file to this:
Code:
@ IN SOA www..logic.bs. admin.logic.bs. (
2006081401;
28800;
604800;
604800;
86400
)
NS ns1.logic.bs
128 IN PTR client1.logic.bs
254 IN PTR server.logic.bs
When I do a nslookup client1.logic.bs it says it can't be found.
I added this int he named.conf.options:
Code:
listen-on port 53 { 127.0.0.1; };
listen-on port 53 { any; };
In my /etc/resolv.conf, should I have nameserver 127.0.0.1 ?
And when I dig logic.bs, should I be getting
SERVER: 127.0.0.1#53(127.0.0.1) because I was getting my 192.168.153.254 address before...