Skip to content
Snippets Groups Projects
Commit ad0bc432 authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

AS resolvers tests

parent 18fe02f7
No related branches found
No related tags found
No related merge requests found
...@@ -641,6 +641,14 @@ DNS in dns_ans ...@@ -641,6 +641,14 @@ DNS in dns_ans
~ netaccess IP ~ netaccess IP
IP(src="8.8.8.8").whois() IP(src="8.8.8.8").whois()
= AS resolvers
~ netaccess IP
ret = conf.AS_resolver.resolve("8.8.8.8", "8.8.4.4")
assert (len(ret) == 2)
all(x[1] == 15169 for x in ret)
############ ############
############ ############
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment