LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-22-2007, 01:36 PM   #1
yyazici
LQ Newbie
 
Registered: Jan 2007
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
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..
 
Old 01-22-2007, 07:39 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 01-23-2007, 06:48 AM   #3
yyazici
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Blog Entries: 1

Rep: Reputation: 0
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:
Originally Posted by JimBass
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
 
Old 01-23-2007, 10:09 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 01-24-2007, 06:20 PM   #5
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 01-25-2007, 05:26 AM   #6
yyazici
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Thanks to all
i have solved my problem using webmin..
A useful and simple administration inteface for linux..

Yusuf
 
Old 01-25-2007, 08:35 AM   #7
kaixa
Member
 
Registered: May 2005
Posts: 36

Rep: Reputation: 15
Well, if it's a (very) small domain, it's easier if you just using /etc/hosts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic IP, /etc/hosts and DNS naimslim89 Linux - Networking 3 05-23-2006 03:22 AM
Virtual Hosts, DNS resolves, PLEASE HELP!! parasbshah Linux - Software 14 10-17-2005 01:38 PM
Repoint DNS in /etc/hosts Ephracis Linux - Networking 2 07-18-2005 07:21 AM
moving hosts and DNS branden_burger Linux - Networking 3 05-14-2005 09:55 AM
DNS named and /etc/hosts Pollyanna Linux - Networking 0 03-22-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration