Re: [Dnsmasq-discuss] Using a reverse lookup host file

2021-05-04 Thread Matus UHLAR - fantomas via Dnsmasq-discuss

On 04.05.21 18:17, Ercolino de Spiacico wrote:
1) why doesn't dnsmasq perform reverse DNS resolution by default? All 
the info is in there but it seems like additional directives are 
needed.


what do you mean? dnsmasq resoves everything it can, but only if you ask for
it.

2) Talking about having an external file where reverse lookup info is 
held, how would this be linked to the main dnsmasq configuration and 
what would the content of it look like e.g. syntax? All I could find 
are configuration directives like:

host-record=node01.black.system,10.248.11.21


well, by this you explicitly configure dnsmasq to provide only A lookup.

but my idea would be to have something that looks more like the host 
file (if possible at all). Where can I find the relevant documentation 
on how to achieve this and/or can I get some help on how to get 
started?


you can /etc/hosts instead, which is standard file in UN*X operating
systems. dnsmasq uses it for forward and reverse resolution, unless you
disable it.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Using a reverse lookup host file

2021-05-04 Thread Ercolino de Spiacico

I would like to ask two questions on dnsmasq name resolution:

1) why doesn't dnsmasq perform reverse DNS resolution by default? All 
the info is in there but it seems like additional directives are needed.


2) Talking about having an external file where reverse lookup info is 
held, how would this be linked to the main dnsmasq configuration and 
what would the content of it look like e.g. syntax? All I could find are 
configuration directives like:

host-record=node01.black.system,10.248.11.21
but my idea would be to have something that looks more like the host 
file (if possible at all). Where can I find the relevant documentation 
on how to achieve this and/or can I get some help on how to get started?


Thanks

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss