<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>Diald Howto: Notes about DNS name resolution</TITLE> <LINK HREF="Diald-HOWTO-6.html" REL=next> <LINK HREF="Diald-HOWTO-4.html" REL=previous> <LINK HREF="Diald-HOWTO.html#toc5" REL=contents> </HEAD> <BODY> <A HREF="Diald-HOWTO-6.html">Next</A> <A HREF="Diald-HOWTO-4.html">Previous</A> <A HREF="Diald-HOWTO.html#toc5">Contents</A> <HR> <H2><A NAME="s5">5. Notes about DNS name resolution</A></H2> <P> <P>Everytime you connect to an ISP, it is necesary to have configured DNS name resolution, so your computer can find IP addresses associated to a computer name. <P>IP addresses of your DNS servers are placed into the <CODE>/etc/resolv.conf</CODE> file. <P>In a standalone computer connecting to Internet, this file usually contains the IP addresses of your ISP's DNS servers: <P> <BLOCKQUOTE><CODE> <PRE> #/etc/resolv.conf file for ISPname nameserver 111.222.333.444 nameserver 222.333.444.555 </PRE> </CODE></BLOCKQUOTE> <P>In a proxy/firewall computer, this file usually contains its own IP address (or the loopback address, 127.0.0.1), and this computer includes a DNS server that translates DNS names to IP addresses by querying external DNS servers. <P> <BLOCKQUOTE><CODE> <PRE> #/etc/resolv.conf file for local DNS resolution nameserver 127.0.0.1 </PRE> </CODE></BLOCKQUOTE> <P>Installation of a local DNS server is out of the scope of this document. There is a lot of documentation about this, but a good and quick approach can be found in the DNS-Howto (<CODE> <A HREF="http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html">http://www.linuxdoc.org/HOWTO/DNS-HOWTO.html</A></CODE>). <P> <HR> <A HREF="Diald-HOWTO-6.html">Next</A> <A HREF="Diald-HOWTO-4.html">Previous</A> <A HREF="Diald-HOWTO.html#toc5">Contents</A> </BODY> </HTML>