pscar13
(Phil SCAR)
26 April 2025 09:57
50
My problem was here:
Phil SCAR:
…
The netbios name is added to the DNS even though another name has been declared in IPFire.
In my case, if I plug my laptop into a fixed connection via USB (to use the 2.5Gb), the Wi-Fi is disabled, but the DNS retains both addresses for the netbios name.
[root@ipfire ~]# unbound-control list_local_data | grep matebook
matebook.pscar.dynu.com. 60 IN A 192.168.20.49
matebook.pscar.dynu.com. 60 IN A 192.168.20.47
47.20.168.192.in-addr.arpa. 60 IN PTR matebook.pscar.dynu.com.
49.20.168.192.in-addr.arpa. 60 IN PTR matebook.pscar.dynu.com.
[root@ipfire ~]# host matebook
matebook.pscar.dynu.com has address 192.168.20.49
matebook.pscar.dynu.com has address 192.168.20.47
[root@ipfire ~]# unbound-control list_local_data | grep 20.47
huaweimbWifi.pscar.dynu.com. 60 IN A 192.168.20.47
matebook.pscar.dynu.com. 60 IN A 192.168.20.47
[root@ipfire ~]# unbound-control list_local_data | grep 20.49
huaweimb.pscar.dynu.com. 60 IN A 192.168.20.49
matebook.pscar.dynu.com. 60 IN A 192.168.20.49
Edit: If I don’t apply this rule, my laptop ends up with the 3 names in the DNS including the duplicate netbios name
If I put the same name on my PC and in /var/ipfire/main/hosts I always have both IP addresses (wifi and fixed) with this name in the DNS
1 Like