Skip to content

Instantly share code, notes, and snippets.

@Habbie
Created April 26, 2013 11:40
Show Gist options
  • Save Habbie/5466671 to your computer and use it in GitHub Desktop.
Save Habbie/5466671 to your computer and use it in GitHub Desktop.
FYI -- This doesn't seem to be a dig problem because I get the same results by using other means of lookups;
Searching for www.burdenslanding.org. A record at ns6.us.editdns.net. [64.251.10.226] invalid record length
Searching for www.burdenslanding.org. A record at ns4.us.editdns.net. [70.85.92.64] invalid record length
Searching for www.burdenslanding.org. A record at ns5.us.editdns.net. [72.249.105.102] ...took 131 ms
mysql> select name,type,content from records where name='www.burdenslanding.org';
+------------------------+-------+---------------------+
| name | type | content |
+------------------------+-------+---------------------+
| www.burdenslanding.org | CNAME | burdenslanding.org. |
+------------------------+-------+---------------------+
$ dig www.burdenslanding.org @ns4.eu.editdns.net
;; Got bad packet: extra input data
142 bytes
da 1d 85 00 00 01 00 00 00 01 00 00 03 77 77 77
0e 62 75 72 64 65 6e 73 6c 61 6e 64 69 6e 67 03
6f 72 67 00 00 01 00 01 0e 62 75 72 64 65 6e 73
6c 61 6e 64 69 6e 67 03 6f 72 67 00 00 06 00 01
00 00 0e 10 00 48 03 6e 73 34 02 75 73 07 65 64
69 74 64 6e 73 03 6e 65 74 00 0a 68 6f 73 74 6d
61 73 74 65 72 0e 62 75 72 64 65 6e 73 6c 61 6e
64 69 6e 67 03 6f 72 67 00 00 00 00 00 01 00 00
2a 30 00 00 0e 10 00 09 3a 80 00 00 0e 10
However, I just created the same exact setup with www.testcname.com to point to testcname.com and it works;
$ dig www.testcname.com @ns4.eu.editdns.net +short
testcname.com.
SQL log difference:
4 Query select content,ttl,prio,type,domain_id,name from records where name='www.testcname.com'
3 Query select content,ttl,prio,type,domain_id,name from records where name='www.burdenslanding.org'
3 Query select content,ttl,prio,type,domain_id,name from records where name='burdenslanding.org.'
3 Query select content,ttl,prio,type,domain_id,name from records where type='SOA' and name='burdenslanding.org.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment