At IU, how do I configure my Unix workstation's DNS settings?

For most Unix workstations at Indiana University, you can configure your DNS settings by editing your /etc/resolv.conf file.

The following sample file works well at IU Bloomington:

  domain department.indiana.edu
  search department.indiana.edu uits.iu.edu indiana.edu iu.edu
  nameserver 129.79.1.1       # ns.indiana.edu
  nameserver 129.79.5.100     # ns2.indiana.edu
  nameserver 129.79.8.50      # ns3.indiana.edu
  

The following sample file works well at IUPUI:

  domain department.iupui.edu
  search department.iupui.edu uits.iu.edu iupui.edu iu.edu
  nameserver 134.68.1.9       # ns.iupui.edu
  nameserver 134.68.1.2       # ns2.iupui.edu
  nameserver 134.68.220.9     # ns3.iupui.edu

Replace department with your department's domain name.

Entering your department's domain name in the search line allows you to resolve hostnames in your own department (e.g., bio.indiana.edu, chem.iupui.edu, or music.indiana.edu). If you are not a member of a particular department, you may wish to omit that entry. Also, many Unix workstations allow only five domains on the search line.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document benx in the Knowledge Base.
Last modified on 2017-05-16 11:49:50.

Contact us

For help or to comment, email the UITS Support Center.