Martin Hejl wrote:
> 
> Hi everybody,
> 
> today, I successfully set up a Dachstein box. On the router, I'm running
> tinydns and dnscache to replace our (private) DNS server (which was Bind - I
> guess I don't need to tell anybody why I wanted to switch).
> 
> Thanks to Jacques' excellent documentation, setting tinydns up was pretty
> simple (except for the part below).
> 
> One thing that took us quite a while was to figure out why reverse lookups
> didn't work on the internal net. The way we finally got it to work was to
> declare all entries in  /etc/tinydns-private/root/data as PTRs.
> 
> For example
> =example1.private.network:192.168.1.1
> instead of
> +example1.private.network:192.168.1.1
> 
> Now, my question is, is that actually correct? If so, I guess it would be a
> good idea to add a reference to that to the docs (I know there's a PTR in
> the sample, but since that referred to the router name, we assumed that
> there was something special about that - remember, I'm surely a "DNS
> newbie").
> 
> And if I'm wrong with my guess, I'd appreciate any ideas or suggestions on
> how to make reverse lookups work "properly".
> 
> Martin



Martin, you figured it out correctly, but you may not understand
what you did fully.  So here's the section from cr.yp.to that 
describes the entry you made:


>     =fqdn:ip:ttl:timestamp:lo
> 
> Host fqdn with IP address ip. tinydns-data creates 
> 
>      an A record showing ip as the IP address of fqdn and 
>      a PTR record showing fqdn as the name of d.c.b.a.in-addr.arpa if ip is a.b.c.d. 
> 
> Remember to specify name servers for some suffix of fqdn; 
> otherwise tinydns will not respond to queries about fqdn. 
> The same comment applies to other records described below. 
> Similarly, remember to specify name servers for some suffix 
> of d.c.b.a.in-addr.arpa, if that domain has been delegated to you. 
> 
> Example: 
> 
>      =button.panic.mil:1.8.7.108
> 
> creates an A record showing 1.8.7.108 as the IP address of 
> button.panic.mil, and a PTR record showing button.panic.mil as 
> the name of 108.7.8.1.in-addr.arpa. 


As you analyzed, the + style data line doesn't create the PTR
record for reverse lookups.  It only creates the A record.

With the = you get both.

n1,
Matt

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to