Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-29-2001, 08:59 PM   #1
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30

I have a site and i wanna set up my own dns lookup service. I have time and I am pretty curious on how to do it. i just dont know where to start. Does anybody know a good documentation to get me started? Nabil kinda helped me to find a free dns lookup service but i wanna learn how to do it myself. Also, which distro. do you think is the best for a web-server? One more last question, can i have multiple domain names on one machine?
Lets say,
can i run,, and in one machine? Thanks for your help.
Old 05-29-2001, 09:32 PM   #2
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
The BEST book is undoubtedly O'Reilly's DNS and Bind" (its also available online), also visit ("publishers" of BIND) and CERT for general UNIX/security guidelines. I cant stress the importance of the last 2 enuff, the Lion worm bein a bad example of that.

"Best distro" is worth a flame-war during aeons, just like "Is Linux Better Than Windows) I'll better let the numbers speak.

Last one. Yes u can. But it involves some work with named.conf records and zones. Better read a piece of O'Reilly's first me thinks.
Old 05-29-2001, 10:14 PM   #3
Registered: May 2001
Posts: 44

Rep: Reputation: 15
unSpawn is right I have thier 3rd edition of DNS and Bind

and its a great book... running DNS isn't hard to do

(believe it or not) I do it on a dialup machine where I work

its just something to play with to keep me busy learning.

I've been thinking about doing the same on my DSL box at home.

The hardest thing for me to remember is to change the Serial number after editing the zone file...

and maybe remembering to put the dots after the MX, NS and CNAME records....

I had a hard time getting virtual domains running at first

I searched a good while before I came up with a solution.

I only have one IP address so if you will have the same dilemma

this is what my httpd.conf file looks like:

(if I'm doing this wrong somebody please let me know)

NameVirtualHost IP.address.of.yourserver

<VirtualHost IP.address.of.yourserver>

DocumentRoot /var/www/html/ (<--this could be any Dir)




and then it would look the same on down the line

except it would be a different virtual hosts pointed to different Dirs....

mine doesn't get much more complicated than that and it works great.

Of course it can get more complicated you can CHROOT your domains to make it more secure

(from what I've read I havent gotten that far yet....


[Edited by rewt on 05-29-2001 at 10:19 PM]
Old 05-30-2001, 06:45 AM   #4
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45

I wish I would have found this guy a month ago! While my well-worn DNS and BIND (3rd. ed.) has been my crutch, it appears that important things like glue records escaped my attention. Go see Mr. DNS and get the book.



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
DNS lookup Cabous Linux - Networking 11 07-18-2005 01:36 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
DNS lookup arsham Linux - General 2 05-07-2005 09:44 AM
DNS lookup vibhory2j Linux - Software 8 10-19-2004 11:24 AM
Cant lookup dns . Trygve Linux - Networking 2 10-23-2003 04:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:06 PM.

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