mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user