axfr-get: fatal: unable to parse AXFR results: protocol error and Solution

Posted on in Categories , , , , , , , , , , , , last updated July 5, 2009

I‘m trying to get data (AXFR query) from master tinydns server to secondary DNS server using tcpclient as follows:
tcpclient -v a.ns.example.com 53 axfr-get example.com example.com example.com.tmp

But I’m getting an error which read as follows:

>axfr-get: fatal: unable to parse AXFR results: protocol error

How do I fix this problem?

Configure Linux / UNIX Dns Resolver To Append Domain Search Names And Path ( ndots options )

Posted on in Categories , , , , , , , last updated April 22, 2014

I‘m using CentOS Linux server version 5.x/6.x+. How do I configure a system so that the DNS resolver will append search path extensions to hostnames that have dots in them? For example, my domain name is test.com. when I query for mail hostname it should append .test.com and return the IP address of mail.test.com hostname.