Some DiG/DNS/nslookup tid bits

Get ttl for a domain:

[smbrown@JRCASH-3:~]$ dig +nocmd seanmbrown.net +noall +answer
seanmbrown.net.		3574	IN	A	174.143.45.137

Flush the dns cashe on Mac OS X

[smbrown@JRCASH-3:~]$ dscacheutil -flushcache

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s