old-www/HOWTO/IP-Masquerade-HOWTO/testing-masq-w-dns.html

206 lines
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Testing MASQ functionality with DNS resolution</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Linux IP Masquerade HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Testing IP Masquerade "
HREF="testing.html"><LINK
REL="PREVIOUS"
TITLE="Testing MASQ functionality without DNS"
HREF="testing-masq-wo-dns.html"><LINK
REL="NEXT"
TITLE="Testing more MASQ functionality with DNS"
HREF="testing-masq-w-dns-extended.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux IP Masquerade HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="testing-masq-wo-dns.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Testing IP Masquerade</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="testing-masq-w-dns-extended.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="TESTING-MASQ-W-DNS"
></A
>5.10. Testing MASQ functionality with DNS resolution</H1
><P
>&#13;<P
></P
><UL
><LI
><P
><STRONG
>Step Ten: Testing MASQ functionality with DNS
resolution</STRONG
></P
><P
>Now try TELNETing to a remote machine by DNS name (i.e. <STRONG
>"telnet metalab.unc.edu"</STRONG
> (IP address 152.2.210.81).
If this works, the output should look like something below. With this test,
this shows that UDP-based DNS is working fine. </P
><P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>--------------------------------
masq-client# telnet MetaLab.unc.edu
Trying 152.2.210.80...
Connected to 152.2.210.80.
Escape character is '^]'.
SunOS 5.7
******************** Welcome to MetaLab.unc.edu *******************
To login to MetaLab as a user, connect to login.metalab.unc.edu.
This machine does not allow public telnet logins.
login: Connection closed by foreign host.
--------------------------------</PRE
></FONT
></TD
></TR
></TABLE
></P
><P
>If this did not work, but Step EIGHT did work, make sure that you have
one or more valid DNS servers configured on each of the MASQ CLIENT
computer(s) as shown in <A
HREF="configuring-clients.html"
>Chapter 4</A
>. Please note
that these DNS servers will typically be your ISP's DNS servers and NOT your
local MASQ server. Some people might later choose to setup their OWN DNS
servers but this is beyond the scope of this HOWTO.</P
></LI
></UL
>&#13;</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="testing-masq-wo-dns.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="testing-masq-w-dns-extended.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Testing MASQ functionality without DNS</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="testing.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Testing more MASQ functionality with DNS</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>