diff --git a/BUGS.txt b/BUGS.txt index 574106a..3c9aee3 100644 --- a/BUGS.txt +++ b/BUGS.txt @@ -1 +1,6 @@ dig @localhost -p 65053 ANY aaaa.example.com + +# Using the wrong type (A instead of AAAA) results in an erroneous packet + +{ "zone": "example.com", "name": "aaaa.example.com", "tld": "com", "sld": "example", "sub": "aaaa" +, "type": "A", "address": "::1" } diff --git a/samples/db.js b/samples/db.js index e7a82d6..f2f86e9 100644 --- a/samples/db.js +++ b/samples/db.js @@ -29,7 +29,7 @@ module.exports = { , { "zone": "example.com", "name": "a.example.com", "tld": "com", "sld": "example", "sub": "a" , "type": "A", "address": "4.3.2.1" } , { "zone": "example.com", "name": "aaaa.example.com", "tld": "com", "sld": "example", "sub": "aaaa" - , "type": "A", "address": "::1" } + , "type": "AAAA", "address": "::1" } , { "zone": "example.com", "name": "aname.example.com", "tld": "com", "sld": "example", "sub": "aname" , "type": "A", "aname": "amazon.com" } , { "zone": "example.com", "name": "devname.example.com", "tld": "com", "sld": "example", "sub": "devname"