add tests for CNAME and CNAME return on A/AAAA
This commit is contained in:
parent
b3ef27791e
commit
93e5c80ab4
|
@ -83,6 +83,7 @@ $digcmd @$ns -p $port NS in-delegated.example.com
|
||||||
# should return records in ANSWER section, nothing else
|
# should return records in ANSWER section, nothing else
|
||||||
$digcmd @$ns -p $port A example.com
|
$digcmd @$ns -p $port A example.com
|
||||||
$digcmd @$ns -p $port AAAA example.com
|
$digcmd @$ns -p $port AAAA example.com
|
||||||
|
$digcmd @$ns -p $port CNAME example.com
|
||||||
$digcmd @$ns -p $port MX example.com
|
$digcmd @$ns -p $port MX example.com
|
||||||
$digcmd @$ns -p $port SRV example.com
|
$digcmd @$ns -p $port SRV example.com
|
||||||
$digcmd @$ns -p $port TXT example.com
|
$digcmd @$ns -p $port TXT example.com
|
||||||
|
@ -101,6 +102,8 @@ $digcmd @$ns -p $port NS doesntexist.example.com
|
||||||
# should return record of correct type in ANSWER section, nothing else
|
# should return record of correct type in ANSWER section, nothing else
|
||||||
$digcmd @$ns -p $port A a.example.com
|
$digcmd @$ns -p $port A a.example.com
|
||||||
$digcmd @$ns -p $port AAAA aaaa.example.com
|
$digcmd @$ns -p $port AAAA aaaa.example.com
|
||||||
|
$digcmd @$ns -p $port CNAME cname.example.com
|
||||||
|
$digcmd @$ns -p $port A cname.example.com # Special Case, should return CNAME record
|
||||||
$digcmd @$ns -p $port MX mx.example.com
|
$digcmd @$ns -p $port MX mx.example.com
|
||||||
$digcmd @$ns -p $port SRV srv.example.com
|
$digcmd @$ns -p $port SRV srv.example.com
|
||||||
$digcmd @$ns -p $port TXT txt.example.com
|
$digcmd @$ns -p $port TXT txt.example.com
|
||||||
|
|
Loading…
Reference in New Issue