hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Using TinyDNS with two IPs?

Forum Jump

Using TinyDNS with two IPs?

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 03-01-2006, 02:02 AM
fog fog is offline
Web Hosting Master
Join Date: Jun 2002
Posts: 1,375

Using TinyDNS with two IPs?

I'm setting up a dedicated box, and am working on getting DNS going. I've installed TinyDNS, but it seems to only want to bind to one IP, but you need at least 2 to get a domain to accept it. (The author makes a good point that redundant DNS servers are pointless if you only have one server... I agree, but this doesn't help me any.)

Also, does anyone have pointers to a truly good link on how DNS works? I know parts of it very well, but some parts still confuse me. (How can be the nameserver for't that a catch 22?)

Sponsored Links
Old 03-01-2006, 04:40 AM
darksoul darksoul is offline
Junior Guru
Join Date: Oct 2002
Posts: 229
theres a patch for djbdns that can bind tinydns on two ips.
Or you can create two tinydns instances and run them with the same data dir.

As for your second question. The ip for its kept in the root nameservers.

Server Admin Services

Old 03-01-2006, 09:03 AM
brianoz brianoz is offline
Web Hosting Master
Join Date: Nov 2004
Location: Australia
Posts: 1,514
You should be able to run a second tinydns instance trivially. But if they're on the same server, doesn't tinydns bind to everything?

There's lots out there on tinydns, including answers to this question. is a good starting place (check out the links and tutorials there), but also check out

You've understood the catch22 in being a - it *is* a catch22. The way you can do is to register a "child nameserver" with the registrar that registered The TLD roots then return the IP for when someone asks for the delegation (returning it as what's known as "glue").

Sponsored Links
Old 03-01-2006, 05:52 PM
tamasrepus tamasrepus is offline
Web Hosting Master
Join Date: Dec 2004
Location: New York City, NY, USA
Posts: 735
If you are not running dnscache on UDP port 53, you can make TinyDNS run on all ports by setting the bind address to

echo -n > /etc/tinydns/env/IP

If you need to run both tinydns and dnscache, you're going to have to run multiple instances. To make them serve the same information, just make both tinydns daemons use the same "root" directory (via a symlink).

Samat Jain | Rhombic Networks, LLC - Partner, CTO


Related posts from
Title Type Date Posted

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?