Skip to content

Commit 6106c7a

Browse files
authored
Update the static dns test plan (sonic-net#10145)
Add one more test case: Verify dynamic DNS will take effect when there is no static dns nameserver is configured and the ip is changed to the dynamic ip.
1 parent c41721d commit 6106c7a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/testplan/dns/static-dns-test-plan.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,17 @@ The test will be supported on any topology
111111
- Verify /etc/resolv.conf will be cleaned
112112
2. Do dhcp renew
113113
- Verify resolvconf is disabled to receive dynamic DNS configuration(/etc/resolv.conf remains clean)
114+
3. Add all deleted nameservers back.
114115

115-
### Test cases #4 - Negative test: verify the limitation of the name server count should not excced 3, and the ip address should be correct.
116+
### Test cases #4 - Verify dynamic DNS will take effect when there is no static dns nameserver is configured and the ip is changed to the dynamic ip..
117+
1.Check there is no static ip configred
118+
2.Configure statically the same ip that was provided by dhcp.
119+
3.Delete all the nameservers from the config db with cli command
120+
- Verify /etc/resolv.conf will be cleaned
121+
4.Remove the static IP
122+
5.Renew dhcp to restore the dns configuration.
123+
124+
### Test cases #5 - Negative test: verify the limitation of the name server count should not excced 3, and the ip address should be correct.
116125

117126
1. Delete a DNS nameserver which not exist in the config db
118127
- Verify there is Err msg returned

0 commit comments

Comments
 (0)