F
F
fastboot2021-02-05 11:46:07
linux
fastboot, 2021-02-05 11:46:07

Why am I getting the local address nnnnin-addr.arpa via DNS?

LAN net: 192.168.255.0/24

LAN gate: 192.168.255.254 // aka pfSense, FreeBSD
601d04939d9e7468014452.png

LAN DNS: 192.168.255.250 // aka ZeroPi-DNS, Linux
601d044e02b49786376577.png

LAN: 192.168.255.205 entry in pfSense DHCP server
[email protected]:~# ifconfig | grep "inet addr"
          inet addr:192.168.255.250  Bcast:192.168.255.255  Mask:255.255.255.0
          inet addr:127.0.0.1  Mask:255.0.0.0
[email protected]:~# nslookup 192.168.255.205
Server:         127.0.0.1
Address:        127.0.0.1#53

205.255.168.192.in-addr.arpa    name = cam5.lan.vitko-core.ru.

[email protected]:~#

Please explain to me a fool why I get this entry 205.255.168.192.in-addr.arpa name = cam5.lan.vitko-core.ru.?
[email protected]:~# ping 192.168.255.205
PING 192.168.255.205 (192.168.255.205) 56(84) bytes of data.
64 bytes from 192.168.255.205: icmp_seq=1 ttl=64 time=1.31 ms
64 bytes from 192.168.255.205: icmp_seq=2 ttl=64 time=1.14 ms
64 bytes from 192.168.255.205: icmp_seq=3 ttl=64 time=0.978 ms
64 bytes from 192.168.255.205: icmp_seq=4 ttl=64 time=0.565 ms


And here, for example, on Windows I get a normal response:
Microsoft Windows [Version 10.0.19042.746]
(c) Корпорация Майкрософт (Microsoft Corporation), 2020. Все права защищены.

C:\Users\root>chcp 65001
Active code page: 65001

C:\Users\root>nslookup cam5 192.168.255.254
Server:  pfsense.vitko-core.ru
Address:  192.168.255.254

Name:    cam5.lan.vitko-core.ru
Address:  192.168.255.205


C:\Users\root>ping 192.168.255.205

Pinging 192.168.255.205 with 32 bytes of data:
Reply from 192.168.255.205: bytes=32 time<1ms TTL=64
Reply from 192.168.255.205: bytes=32 time<1ms TTL=64
Reply from 192.168.255.205: bytes=32 time=1ms TTL=64
Reply from 192.168.255.205: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.255.205:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\Users\root>


Or you can do this:
DHCP clients get DNS servers for:
1) for the global Internet,
ala ping google

2) for local network,
ala ping CAM5.lan.vitko-core.ru

But this is why it doesn't work for me:
1. 192.168.255.250 - the first entry in the DHCP client.
2. 192.168.255.254 - the second entry in the DHCP client.
Internet works, but when it comes to the local network, I can't get the entry from pfSense :( Please tell me what to do, thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2021-02-05
@pfg21

you get the domain name 205.255.168.192.in-addr.arpa automatically.
it is formed from the ipv4 address and does not depend on your desires.
see standard https://tools.ietf.org/html/rfc1035 section "3.5. IN-ADDR.ARPA domain"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question