Tip of the Day - Clearing Local Resolver Cache

Posted by Ben Allen Mon, 21 Jan 2008 04:55:00 GMT

In the name of performance Apple has in Tiger and Leopard decided that cacheing DNS lookups locally was a good idea. Normally it is, but when you are debugging DNS problems or changing DNS records it can be quite a pain if you forget about it. Well as long as you remember, its simple enough to clear the cache:

Tiger
lookupd -flushcache

Leopard
dscacheutil -flushcache

Source: http://www.opendns.com/support/article/209

Solaris Static Network Configuration

Posted by Ron Valente Mon, 13 Aug 2007 14:04:00 GMT

Introduction

Consider a Solaris Server that you need as a DHCP and DNS server. The ideal configuration would be a static network config so that the IP address never changes. The best way to go about doing this is to configuring the following files. For the sake of argument let say we want the IP address of the server to be 172.16.0.100 with a Class C network mask. I have a Intel Pro 1000 Gigabit Ethernet card in my Solaris Server so the e1000g driver is used in the examples. Finally the hostname for this Solaris server will be called "solsrv"

Required Files

/etc/defaultrouter
/etc/inet/netmasks
/etc/nodename
/etc/hostname.e1000g0
/etc/resolv.conf
/etc/hosts

/etc/defaultrouter

172.16.0.1

/etc/inet/netmasks

172.16.0.0 255.255.255.0

/etc/nodename

solsrv

/etc/hostname.e1000g0

solsrv

/etc/resolv.conf

For my DNS server I use OpenDNS: http://www.opendns.org

nameserver 208.67.222.222

/etc/hosts

127.0.0.1 localhost
172.16.0.100 solsrv

IMPORTANT - Delete These Files

Finally remove these files using the following commands:

rm /etc/dhcp.e1000g0
rm /etc/dhcp/e1000g0.dhc

Tip of the Day - July 4, 2007 - DNS Settings and GoDaddy 1

Posted by Ben Allen Wed, 04 Jul 2007 18:41:00 GMT

GoDaddy

When registering a domain at GoDaddy and not using their DNS servers make sure during the checkout process you enter your own nameservers. This will speed up the propagation time tremendously. It should take just a few minutes for your domain to be propagated with the correct DNS servers after you finish checking out.