[Dnsmasq-discuss] Per domain Reverse DNS query configuration

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Jul 6 11:06:41 BST 2020


On 06.07.20 09:47, salil GK wrote:
>   I am new to dnsmasq list. I have my server configured with domain
>specific dns resolution for the following entry.
>
>>>>
># daemon version Dnsmasq version 2.81  Copyright (c) 2000-2020 Simon Kelley
>
>server=/hello.com/10.116.21.86
><<<<
>
>
>This works perfectly.
>
>But I get query for reverse dns resolution - fetch record based on IP
>address. So if an IP address comes for exfy.com comes, resolution
>fails because the query goes to default dns server and fails if it
>doesn't find an entry.
>How do I configure reverse dns query per domain ?

since reverse lookups are mapping the IP address to domain names, and are in
form of 86.21.116.10.in-addr.arpa, you can configure 

server=/86.21.116.10.in-addr.arpa/10.116.21.86

but you can't configure revrese lookup per resolved domain name like
"hello.com" above, because the domain name is not known at the time of
lookup.

-- 
Matus UHLAR - fantomas, uhlar at 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.
M$ Win's are shit, do not use it !



More information about the Dnsmasq-discuss mailing list