[Dnsmasq-discuss] Partial IP addresses in ptr-record fields
Petr Menšík
pemensik at redhat.com
Wed Mar 21 10:47:19 GMT 2018
Why would you like ptr record to look like an IP address in the first
place? I think this is more spoofing that anything else. You can always
make sure name 5.5.5.5.in-addr.arpa does not exist and will always
display as IP address. NAT can be used to change IP address transparently.
Dne 19.3.2018 v 14:13 Juho Pohjala napsal(a):
> Hi
>
> Is it possible to configure partial IP addresses in ptr-record fields so
> that it would work similarly as in server field?
>
> In my configuration file I have
> server=/3.168.192.in-addr.arpa/10.1.2.3 <http://10.1.2.3>
> ptr-record=4.168.192.in-addr.arpa,5.5.5.5
>
> Now, nslookup 192.168.3.100 gets forwarded to 10.1.2.3, this is
> expected. But nslookup 192.168.4.100 will not return 5.5.5.5 as I would
> expect. Is my configuration flawed or does dnsmasq support partial IPs
> in ptr-record field at all?
>
> Thanks
> Juho Pohjala
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com PGP: 65C6C973
More information about the Dnsmasq-discuss
mailing list