File: 08b_dns_ipv4_domain_and_search.sh

package info (click to toggle)
openvpn-systemd-resolved 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: sh: 706; makefile: 35
file content (12 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
script_type="up"
dev="tun08"
foreign_option_1="dhcp-option DNS 1.23.4.56"
foreign_option_2="dhcp-option DNS 2.34.5.67"
foreign_option_3="dhcp-option DOMAIN example.co.uk"
foreign_option_4="dhcp-option DOMAIN-SEARCH example.co"
foreign_option_5="dhcp-option DOMAIN-SEARCH example.com"

TEST_TITLE="DNS IPv4 Servers, Domain, and Search"
TEST_BUSCTL_CALLED=1
TEST_BUSCTL_DNS="2 2 4 1 23 4 56 2 4 2 34 5 67"
TEST_BUSCTL_DOMAINS="3 example.co.uk false example.co false example.com false"