CSCF DNS Service | Services | Setups | Infrastructure | Internal | CSCF | CS | UW

Domain Name System (DNS) Service Configuration Recommended by CSCF

In general, for a stand-alone system you should use DHCP or set up workstations to use the UW campus Anycast Name Servers:  
For systems joined to CSCF's TEACHING or GENERAL Directory Service, you should set up workstations to also use CSCF Name Servers (at least until IST fixes their single point of failure for the "" zone transfer):  

DNS client setup instructions

Linux systems

There are many variations on how to set up name servers in Ubuntu (Debian) systems. Depending on what packages are installed, you might use

  1. configuration lines in /etc/resolv.conf
  2. configuration lines in /etc/network/interfaces
  3. configuration line appended to /etc/dhclient.conf
  4. the Ubuntu NetworkManager tool

These methods are generally mutually-exclusive and should not be "mixed & matched".

Setup of "/etc/resolv.conf"

A complete /etc/resolv.conf file for non-CS-TEACHING systems:

sudo wget -O /etc/resolv.conf

A complete /etc/resolv.conf file for CS-TEACHING systems:

sudo wget -O /etc/resolv.conf

You may wish to add more domains to the "search" config line that are particular to your usage (e.g. a research-group domain). However if you do, make sure you update the "ndots" option to be the maximum number of dots contained by a domain name with in the "search" line.

Setup of "/etc/network/interfaces"

In /etc/network/interfaces, if the Canonical Inc "resolvconf" package is installed, the name servers are specified on a single line within the associated interface stanza:

iface eth0 inet static
   netmask ...
   address ...
   gateway ...

Enhance "/etc/dhcp/dhclient.conf" to Accept Full Search List

unfortunately by default, the dhclient.conf will only pick up the first domainname of the domain-search string supplied by the dhcp server. To have it use the entire string of names, append "option domain-search code 119 = string;" to the /etc/dhcp/dhclient.conf" file.

echo "option domain-search code 119 = string;" >> /etc/dhcp/dhclient.conf

Setup Networking via NetworkManager

With the NetworkManager GUI management tool, edit the associated connection (e.g. "Auto eth0") and select the "IPv4" tab. Fill in the "DNS servers" and "Search domains" boxes for the appropriate building. Each name or address should be comma-separated, e.g.:

DNS servers:,,,
Search domains:,

MacOS systems

Via the Apple—System Preferences menu, click "Network". Then, show "Ethernet" (the one at the top of the list).

The preferred configuration is Using DHCP: click "Apply" and you're done.

For manual configuration:

Windows systems

Via the Control Panel—Network and Internet—Network Connections page:
Select the associated network interface (usually "Local Area Connection"),
Right-click and select "Properties".

On that properties page, select "Internet Protocol Version 4" and click the "Properties" button:
Fill in the two DNS server addresses from above (e.g.,,, and then click the "Advanced" button.

Select the "DNS" tab and add DNS server addresses as required.

You can also add more domains to your search list.