Hi All,
I am configuring 464XLAT on my router and encountered an issue. The specific requirement for 464XLAT is that ipv4only.arpa
needs to be resolved by a DNS64 server as both IPv4 and IPv6.
My router has wan
, 4g1
, and 4g2
interfaces. Below is the network configuration:
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option metric '1'
option dns_metric '20'
config interface '4g1'
option metric '40'
option proto '3g'
option device '/dev/ttyUSB1'
option service 'umts'
list dns '2606:4700:4700::64'
list dns '2606:4700:4700::6400'
option peerdns '0'
option auto '0'
option ipv6 'auto'
option dns_metric '10'
config interface '4g2'
option metric '41'
option proto '3g'
option device '/dev/ttyUSB4'
option service 'umts'
list dns '2606:4700:4700::64'
list dns '2606:4700:4700::6400'
option peerdns '0'
option pdp_context 'IPV6'
option ipv6 'auto'
option dns_metric '5'
With the above configuration, when I try to run nslookup
, I get:
NEAdmin@NE-25:~# nslookup ipv4only.arpa
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: ipv4only.arpa
Address 1: 192.0.0.171
Address 2: 192.0.0.170
*** Can't find ipv4only.arpa: No answer
If I disable the wan
interface, the result changes to:
NEAdmin@NE-25:~# nslookup ipv4only.arpa
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: ipv4only.arpa
Address 1: 192.0.0.171
Address 2: 192.0.0.170
Address 3: 64:ff9b::c000:ab
Address 4: 64:ff9b::c000:aa
Here is the content of the resolv.conf
file:
NEAdmin@NE-25:~# cat /tmp/resolv.conf.d/resolv.conf.auto
# Interface 4g2_6
# Interface 4g2
nameserver 2606:4700:4700::64
nameserver 2606:4700:4700::6400
# Interface wan
nameserver 8.8.8.8
nameserver 1.1.1.1
Due to this, 464xlatcfg
fails to resolve ipv4only.arpa
and ignores the 464XLAT configuration.
We have already setted dns weight to prefer 4g2 which has ipv6 dns server, but its still preferring ipv4 only.
Any help or suggestions to resolve this issue would be greatly appreciated.
Thank you!