Dns Dynamic
Test suite to check Dynamic DNS service. Dynamic DNS allows the router to keep a domain updated with the most recent IP address. It does this by periodically updating the domain. The domain to be updated, the ip address with which the domain is updated, the platform where the update is sent, and the update interval can all be defined in the configuration.
Test Dynamic DNS
Description
Test to check Dynamic DNS. A DDNS is configured for a specific interface and then the operational command is used to display relevant information.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth0 address 10.215.168.64/24 set service dns dynamic interface eth0 service teldat domain testteldatdns.ddns.net set service dns dynamic interface eth0 service teldat encrypted-password U2FsdGVkX19Fd7+GJl6JXInMIsknPravHvn7frQ6MM0= set service dns dynamic interface eth0 service teldat login moctavian@teldat.com set service dns dynamic interface eth0 service teldat type noip set service dns dynamic interface eth0 update-frecuency 1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Run command service dns dynamic show status interface eth0
at DUT0
and check if output matches the following regular expressions:
Interface:.*eth0 Host-name:.*testteldatdns.ddns.net Status:.*noconnectShow output
Interface: eth0 IP address: Host-name: testteldatdns.ddns.net Last update: Wed Dec 04 15:26:01 2024 Status: noconnect
Test Dynamic DNS via VRF
Description
Test to check Dynamic DNS through a VRF. A DDNS is configured for a specific interface which is located inside a vrf. The operational command is then used to display relevant information.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth0 address 10.215.168.64/24 set interfaces ethernet eth0 vrf 1 set service dns dynamic interface eth0 service teldat domain testteldatdns.ddns.net set service dns dynamic interface eth0 service teldat encrypted-password U2FsdGVkX19kz1NaK2fieJzsGxNOwyDUgDW6EZ2EKq8= set service dns dynamic interface eth0 service teldat login moctavian@teldat.com set service dns dynamic interface eth0 service teldat type noip set service dns dynamic interface eth0 update-frecuency 1 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0' set system vrf 1 description test_vrf
Step 2: Run command service dns dynamic show status interface eth0
at DUT0
and check if output matches the following regular expressions:
Interface:.*eth0 Host-name:.*testteldatdns.ddns.net Status:.*noconnectShow output
Interface: eth0 IP address: Host-name: testteldatdns.ddns.net Last update: Wed Dec 04 15:27:01 2024 Status: noconnect