Linux Iptables Open LDAP Server TCP Ports 389 and 636

Posted on in Categories , , , , , , , last updated August 16, 2009

The default Iptables configuration under CentOS / Red Hat / RHEL / Fedora Linux does not allow inbound access to LDAP service. How do I update iptables settings to allow access to the LDAP primary TCP #389 and encrypted-only TCP # 636 ports, while keeping all other ports on the server in their default protected state?

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?