Adding clients to DNS
So I got bind set up, and when I do a "dig logic.bs" I can confirm it was set up. So say I have a computer called client1 with an ip of 192.168.153.128.
Here is my named.conf.local: Code:
//include "/etc/bind/zones.rfc1918"; Code:
@ IN SOA ns1.logic.bs. admin.logic.bs. ( Code:
|
Quote:
Code:
nslookup client1.logic.bs Code:
domain logic.bs Regards |
I edited my logic.bs.db file to this:
Code:
logic.bs. IN SOA ns1.logic.bs. admin.logic.bs. ( Code:
@ IN SOA www..logic.bs. admin.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; }; 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... |
Please note that you should increase the serial number every time you change the zone file. So increase 2006081401 to 2006081402 and reload bind.
Also note that you have Quote:
Quote:
Code:
listen-on port 53 { any; }; Regards |
Thanks so much for the reply. I'm still not able to do a nslookup of client1.logic.bs
Code:
root@Server:/etc/bind# nslookup client1.logic.bs |
Quote:
Code:
$TTL 86400 Code:
128 IN PTR client1.logic.bs. |
Ok thanks, I got it to work. I got it to work with windows clients as well. Is this what you have to do if you had a bigger network and about 100 machines? Would you have to put in 100 lines in the config file?
|
Quote:
There are lots of tutorials on the net about that, so you should search for a guide that matches your distro and other needs. Regards |
All times are GMT -5. The time now is 11:13 PM. |