dig command

Linux / Unix: Look Up IP Addresses

by Vivek Gite on April 13, 2011 · 0 comments

How can I look up IP addresses under UNIX or Linux operating systems using command line options?

{ 0 comments }

Linux / UNIX: DNS Lookup Command

by Vivek Gite on November 8, 2010 · 5 comments

How do I perform dns lookup under Linux or UNIX or OS X operating systems without using 3rd party web sites for troubleshooting DNS usage?

{ 5 comments }

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?

{ 3 comments }

OpenBSD: Static Routing Configuration

by Vivek Gite on July 6, 2010 · 3 comments

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

{ 3 comments }

Q. How do I find out the DNS authority record (SOA) for any DNS domain under UNIX / Linux shell?

{ 1 comment }

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?

{ 0 comments }

My local nameserver root zone file is outdated. It has no information about IPv6 and recently changed root server IP address. How do I update my root hints data file under Debian and Red Hat Bind 9 server?

{ 2 comments }