-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from jonathanio/feature/ipv6-support
Add IPv6 address support for DNS Servers
- Loading branch information
Showing
11 changed files
with
113 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun10" | ||
foreign_option_1="dhcp-option DNS 1234:5678:90ab:cdef:4321:8765:ba09:fedc" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Full)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 18 52 86 120 144 171 205 239 67 33 135 101 186 9 254 220" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun11" | ||
foreign_option_1="dhcp-option DNS 1234:567:89:0:ab:cde:f123:4567" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Full, Simple)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 18 52 5 103 0 137 0 0 0 171 12 222 241 35 69 103" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun12" | ||
foreign_option_1="dhcp-option DNS 1234:567:89::ab:cde:f123:4567" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Compact) (Part 1)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 18 52 5 103 0 137 0 0 0 171 12 222 241 35 69 103" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun13" | ||
foreign_option_1="dhcp-option DNS 1234:567:89::ab:cdef" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Compact) (Part 2)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 18 52 5 103 0 137 0 0 0 0 0 0 0 171 205 239" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun14" | ||
foreign_option_1="dhcp-option DNS 20a0::1" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Compact) (Part 3)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 32 160 0 0 0 0 0 0 0 0 0 0 0 0 0 1" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
script_type="up" | ||
dev="tun15" | ||
foreign_option_1="dhcp-option DNS ::1" | ||
|
||
TEST_TITLE="Single IPv6 DNS Server (Localhost)" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="1 2 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
script_type="up" | ||
dev="tun16" | ||
foreign_option_1="dhcp-option DNS 1234:567:89::ab:cdef" | ||
foreign_option_2="dhcp-option DNS 1.23.4.56" | ||
|
||
TEST_TITLE="Single IPv6 and Single IPv4 DNS Servers" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="2 2 16 18 52 5 103 0 137 0 0 0 0 0 0 0 171 205 239 2 4 1 23 4 56" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
script_type="up" | ||
dev="tun17" | ||
foreign_option_1="dhcp-option DNS 1234:567:89::ab:cdef" | ||
foreign_option_2="dhcp-option DNS 1.23.4.56" | ||
foreign_option_3="dhcp-option DNS 20a0::1" | ||
|
||
TEST_TITLE="Single IPv6 and Single IPv4 DNS Servers" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="3 2 16 18 52 5 103 0 137 0 0 0 0 0 0 0 171 205 239 2 4 1 23 4 56 2 16 32 160 0 0 0 0 0 0 0 0 0 0 0 0 0 1" | ||
TEST_BUSCTL_DOMAINS="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
script_type="up" | ||
dev="tun18" | ||
foreign_option_1="dhcp-option DNS 1.23.4.56" | ||
foreign_option_2="dhcp-option DNS 2.34.56.7" | ||
foreign_option_3="dhcp-option DNS 1234:567:89::ab:cdef" | ||
foreign_option_4="dhcp-option DNS 1234:567:89::ba:cdef" | ||
foreign_option_5="dhcp-option DOMAIN example.com" | ||
foreign_option_6="dhcp-option DOMAIN-SEARCH example.co" | ||
|
||
TEST_TITLE="DNS IPv4 and IPv6 Servers, plus Domain and Search" | ||
TEST_BUSCTL_CALLED=1 | ||
TEST_BUSCTL_DNS="4 2 4 1 23 4 56 2 4 2 34 56 7 2 16 18 52 5 103 0 137 0 0 0 0 0 0 0 171 205 239 2 16 18 52 5 103 0 137 0 0 0 0 0 0 0 186 205 239" | ||
TEST_BUSCTL_DOMAINS="2 example.com false example.co true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters