Validation
#sh run dns relay
!
ip dns relay address 1.1.1.2
!
ipv6 dns relay address fd01::2
!
interface xe1
ip dns relay uplink
ipv6 dns relay uplink
!
interface xe44
ip dns relay
ipv6 dns relay
!
#show running-config interface xe1
!
interface xe1
ip address 1.1.1.1/24
ipv6 address fd01::1/16
ip dns relay uplink
ipv6 dns relay uplink
!
#show running-config interface xe44
!
interface xe44
ip address 4.4.4.1/24
ipv6 address fd02::1/16
ip dns relay
ipv6 dns relay
!
Verify DNS Query result on DNS client machine:
[root@localhost ~]# host google.com
google.com has address 172.217.160.238
google.com has IPv6 address 2404:6800:4002:804::200e
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
Last modified date: 10/19/2023