[CentOS] tinydns -some help needed

Alexandru E. Ungur alexandru at globalterrasoft.ro
Fri Jan 27 16:14:56 UTC 2006


>>> sender: "Jim Perrin" date: "Fri, Jan 27, 2006 at 08:11:09AM -0500" <<<EOQ
> On 1/27/06, Kai Sandsengen <centos.newsgroup at sandsengen.com> wrote:
> Any reason you're using tinydns as opposed to bind?  I can throw a
> couple sample zones your way for bind, but I've never looked at
> tinydns (given that it doesn't come with centos and all :-P )
How about these reasons:
http://cr.yp.to/djbdns/blurb/easeofuse.html ?

And yes, it doesen't come with CentOS but there are .rpms available around
the net, like here:
http://djbware.csi.hu/


>> Is there a tinydns or dns wizard that could give me some hints, please?

>> I am setting up and testing tinydns, but have some problems figuring out
>> how to route. I do get dnscache to listen on tinydns.  Also I do not
>> understand why it will not answer the given ip (127.0.0.1) to the name
>> server.
http://cr.yp.to/djbdns/dnscache.html at the bottom: Special names, I quote:

"dnscache handles localhost internally, giving it an A record of 127.0.0.1.

dnscache handles 1.0.0.127.in-addr.arpa internally, giving it a PTR record 
of localhost.

dnscache handles dotted-decimal domain names internally, giving (e.g.) the 
domain name 192.48.96.2 an A record of 192.48.96.2)"

>> 1. Both services are up running and seems to be working fine, so why no
>> reply, (on the first query/reply below)?

>> .test.example.net:127.0.0.1:a:259200
>> .1.168.192.in-addr.arpa:127.0.0.1:a:259200
>> =server1.test.example.net:192.168.1.102:86400
Simple. Because you did not set an IP address for test.example.net.
You should add this to your data file:

=test.example.net:192.168.1.102:86400

>> 2. I am behind a firewall/router and have dynamic ip address from my
>> isp. Can I set up the name server to be dynamic or how can I solve this
>> by routing?
Services like those offered by no-ip.com or dyndns.com might be better 
suited for this kind of setup.


Hope it helps,
Alex



More information about the CentOS mailing list