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

Notices

Reply
 
Search this Thread
Old 08-20-2008, 04:20 PM   #1
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 93

Rep: Reputation: 15
How to create own DNS service?


Hi,

how can I configure my Linux (ubuntu 8.04) that way, that it is also a DNS service, i.e. not using any DNS servers neither from my provider, nor free services like OpenDNS?

I'd like not to depend from other DNS servers any more, and have a DNS service (simple nameserver caching) running in background, which depends only from root servers.

Thanks
 
Old 08-20-2008, 04:39 PM   #2
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 31
Good luck getting DNS responses from 'root' servers. From what I know, not just any Joe can use them as the primary DNS server for a system. Also, even though you would have a caching local DNS server, every time you would try to get a new site, there would be a performance hit. See, most DNS requests never make it to the root servers because ISP's have their own name servers set up that practically mirror the root servers, and these ISP name servers are normally able to answer your request much quicker simply because they are geographically closer to you (yes, the further away you are from another server, the larger the latency). So in short, it's best to stick with your ISP's nameservers because you can't get to the root servers and it would be a performance hit (unless for some reason you live near one ). If everyone connected to root DNS servers for lookups, the internet would come to a screeching halt.

As for setting up a local DNS server on your machine, you would need bind.

http://ubuntuforums.org/showthread.php?t=236093
http://www.ubuntugeek.com/dns-server...in-ubuntu.html

Search more on google if these aren't for you.

Good luck.
 
Old 08-21-2008, 12:30 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
You can install a caching-only nameserver with BIND, djbdns (tinydns), maradns, powerdns, etc... How you configure it depends on which package you choose
 
  


Reply

Tags
dns, linux, service


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
Can someone help me create a service menu Christof999 Linux - Desktop 5 08-17-2007 12:40 PM
How to custom create a service Scrag Linux - General 2 02-07-2006 07:50 PM
How to create a service that monitors a file Pastorino Linux - Software 2 09-23-2005 07:29 PM
how to create service phoenix_fei Programming 2 07-13-2005 04:56 PM
DNS Service ddepuemd Linux - Networking 1 05-16-2002 11:17 AM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration