test: update unit test with DNS resolver operational data

With support for dns resolver in place, the ietf-system output needs to
be complemented with additional data collected from both the dnsmasq and
openresolv subsystems.

System date taken from 'client3' in the Infix DHCP server-subnets test.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-01-31 13:56:40 +01:00
parent e45fcfca41
commit cb73ddf6bf
3 changed files with 27 additions and 0 deletions
+21
View File
@@ -93,6 +93,27 @@
}
]
}
},
"infix-system:dns-resolver": {
"options": {
"timeout": 3,
"attempts": 5
},
"server": [
{
"address": "1.2.3.4",
"origin": "static"
},
{
"address": "192.168.2.1",
"origin": "dhcp",
"interface": "e7"
}
],
"search": [
"example.com",
"kernelkit.org"
]
}
}
}
@@ -0,0 +1,3 @@
options timeout:3 attempts:5
search example.com kernelkit.org
nameserver 1.2.3.4
@@ -0,0 +1,3 @@
# resolv.conf from e7.conf
nameserver 192.168.2.1 # e7