From 0567aa31c88f6ba39193c7e74a6003cccc4a18e0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 25 Sep 2017 16:48:09 -0600 Subject: [PATCH] add nxdomain response --- test/soa_test/yahoo.com.nx.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/soa_test/yahoo.com.nx.json diff --git a/test/soa_test/yahoo.com.nx.json b/test/soa_test/yahoo.com.nx.json new file mode 100644 index 0000000..250ca5f --- /dev/null +++ b/test/soa_test/yahoo.com.nx.json @@ -0,0 +1,17 @@ +{ "header": + { "id":19900,"qr":1,"opcode":0,"aa":0,"tc":0,"rd":1,"ra":1,"res1":0,"res2":0,"res3":0,"rcode":3}, + "qdcount":1, + "ancount":0, + "nscount":1, + "arcount":0, + "question":[ + {"name":"snthaouesnthaouensth.yahoo.com","type":255,"typeName":"ANY","class":1,"className":"IN","byteLength":36,"labels":["snthaouesnthaouensth","yahoo","com"],"cpcount":0} + ], + "answer":[], + "authority":[ + {"name":"yahoo.com","type":6,"typeName":"SOA","class":1,"className":"IN","byteLength":61,"labels":["yahoo","com"],"cpcount":1,"rdstart":60,"rdlength":49,"ttl":599,"name_server":"ns1.yahoo.com","email_addr":"hostmaster.yahoo-inc.com","sn":2017092539,"ref":3600,"ret":300,"ex":1814400,"nx":600} + ], + "edns_options":[], + "additional":[], + "byteLength":109 +}