how to add new hosts to dns
i want to built a small domain with 3-4 computers.. one of them dns server and others are clients.. i have set up dns.. but when i ping computer1.mydomain i can't get good answer..:confused:
|
Well, BIND is the linux DNS server. You would need to create a zonefile for your domain, and have BIND give answers from that. Setting up BIND for such a small domain seems like a big job for little reward. I would not bother in a setting with only 4 computers, but the choice is yours.
For something that small, I would configure the router to give every machine the same address all the time, and edit the hosts file (windows has this file too) to include the addresses of the local machines. Will take you 5 minutes. Setting up a BIND server is not very difficult, but would be a much more complex job. Peace, JimBass |
Thanks JimBass
You are right. i am aware of not being need to a dns server for a small lan for 3-4 computers but after that i will try bigger one.. i want to have a real domain.. Beside that i think that dns server has a small database which keeps host names for known IPs, hasnīt it? i want to access this table or db.. and add new host names for some IP s.. Quote:
|
Usually BIND runs on plain text files, but it can run on databases if the need is there. Many people install BIND and call the file that contains their domain info something like db.domain.com, but it isn't actually a database in the sense of MySQL, Postgrep or things of that nature. It can be however.
Peace, JimBass |
Here you go this should help you get started: http://www.bind9.net/manual/bind/9.3.2/Bv9ARM.ch01.html
After you look over that maybe you could give your domain a try and ask some more specific questions. |
Thanks to all
i have solved my problem using webmin.. A useful and simple administration inteface for linux.. Yusuf |
Well, if it's a (very) small domain, it's easier if you just using /etc/hosts.
|
All times are GMT -5. The time now is 02:31 PM. |