≡ Menu

dig command

Linux / Unix: Dig Command Find Out TTL (Time to Live) Value For DNS Records

I would like to see the Time-to-live (TTL) value for a 'AAAA' and A record for domains. How do I see Time-to-live (TTL) for a DNS record under Unix or Linux operating systems using command line options?
[click to continue…]

How To Look Up DNS on a Linux and Unix Systems

How do I look up for DNS (Domain Name System) information on a Linux or Unix-like systems using command line options?
[click to continue…]

HowTo: Find Out DNS Server IP Address Used By My Router?

My router configured by ISP tech and it is set to get DNS server address automatically from upstream. Is there is a way to find out the IP address of the dns server used by my router which is located at Is there Linux, Unix, Apple OS X, or MS-Windows command that I can use get the same information?
[click to continue…]

Linux and Unix dig Command Examples


I am a new Linux/Unix command line user. How do I use dig command line utility to query DNS (Domain Name System) servers on Linux and Unix-like operating systems? How do I use dig command to find the IP address of a host name or host Name of an IP address?
[click to continue…]

Linux / Unix: Look Up IP Addresses

How can I look up IP addresses under UNIX or Linux operating systems using command line options?
[click to continue…]

Linux / UNIX: DNS Lookup Command

How do I perform dns lookup under Linux or UNIX or Apple OS X operating systems without using 3rd party web sites for troubleshooting DNS usage?
[click to continue…]

Google Apps Domain Create SPF Records For BIND or Djbdns

I work for a small business and outsourced our email hosting to Google. However, I noticed that spammers are using our From: First Last to send their spam messages. All bounced messages come to our catch only account. How do I stop this? How do I validate our domain using SPF? How do I configure a SPF for Google Apps domain using BIND 9 or djbdns?
[click to continue…]

OpenBSD: Static Routing Configuration

I know how to setup static routing under Linux and FreeBSD operating systems. But, how do you setup static routing under OpenBSD operating systems?
[click to continue…]

Find the DNS Authority Record for a DNS Domain (SOA)

Q.How do I find out the DNS authority record (SOA) for any DNS domain under UNIX / Linux shell?
[click to continue…]

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

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?
[click to continue…]