Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 03:21:15 -0400
From:      "sagacious" <sagacious@unixhideout.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Need help with DNS
Message-ID:  <000001c23219$881c6a50$0a01a8c0@MIKESBOX>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi. I changed my network setup a while ago. I had to put everything
behind a firewall router due to a denial of service attack.. So now, I
am specifying a "static" ip in my rc.conf, but it's a local one,
192.168.1.20, I port forwarded all the services to that ip. The problem
is, you can all go to my site, http://www.unixhideout.com
<http://www.unixhideout.com/>; , but if I click that url, my router pass
box pops up. I had to temporarily change ALL the links in my site, for
example <img src=http://www.unixhideout.com/img/blah.gif
<http://www.unixhideout.com/img/blah.gif%20to%20%3cimg%20src=>;  to <img
src=/img/blah.gif.. and I access the box using http://192.168.1.20
<http://192.168.1.20/>;  I don't want to have to do this, and a lot of
things do not work for me and its my site!! Well, I posted this a while
ago, and a lot of people said if I ran my own DNS for my domain, I could
stop this from happening.. Well I took the time to learn DNS a bit, and
im running it now, and I was wondering exactly what I need to do.. In my
unixhideout.com.hosts I specified this..
 
$ttl 38400
unixhideout.com.        IN      SOA     labs. root.unixhideout.com. (
                        1025839968
                        10800
                        3600
                        604800
                        38400 )
unixhideout.com.        IN      NS      labs
labs.unixhideout.com.   IN      A       65.187.193.189
root.unixhideout.com.   IN      RP      root.unixhideout.com. admin
Host-Info.unixhideout.com.      IN      HINFO   INTEL FreeBSD
mail.unixhideout.com.   IN      MX      10 65.187.193.189
unixhideout.com.        IN      A       65.187.193.189
mail.unixhideout.com.   IN      A       65.187.193.189
smtp.unixhideout.com.   IN      A       65.187.193.189
www.unixhideout.com.    IN      A       65.187.193.189
pop3.unixhideout.com.   IN      A       65.187.193.189
irc.unixhideout.com.    IN      A       65.187.193.189
email.unixhideout.com.  IN      A       65.187.193.189
ftp.unixhideout.com.    IN      A       65.187.193.189
 
Everything works.. You guys (the net) can go to my site and use all the
services. But I cannot.. I tried changing all those IPS to 192.168.1.20,
and then I could use unixhideout.com and you couldn't!! im losing my
patience! Please tell me what I have to do for the internet AND ME to be
able to use the domain I paid for! =] and when you explain pretend I'm 2
years old. Im fragile. Thanks!
 
sagacious (Mike)
Network administrator
The unixhideout network
http://www.unixhideout.com
 

[-- Attachment #2 --]
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">;

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C231F8.00BFDEA0">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Lucida Console";
	panose-1:2 11 6 9 4 5 4 2 2 4;
	mso-font-charset:0;
	mso-generic-font-family:modern;
	mso-font-pitch:fixed;
	mso-font-signature:-2147482993 6144 0 0 31 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:"Lucida Console";
	mso-ascii-font-family:"Lucida Console";
	mso-hansi-font-family:"Lucida Console";
	color:black;
	font-weight:normal;
	font-style:normal;
	text-decoration:none;
	text-underline:none;
	text-decoration:none;
	text-line-through:none;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>Hi. I changed
my network setup a while ago. I had to put everything behind a firewall router
due to a denial of service attack<span class=GramE>..</span> So now, I am
specifying a &#8220;static&#8221; <span class=SpellE>ip</span> in my <span
class=SpellE>rc.conf</span>, but it&#8217;s a local one, 192.168.1.20, I port
forwarded all the services to that <span class=SpellE>ip</span>. The problem
is, you can all go to my site, <a href="http://www.unixhideout.com/">http://www.unixhideout.com</a>,
but if I click that <span class=SpellE><span class=GramE>url</span></span>, my
router pass box pops up&#8230; I had to temporarily change ALL the links in my
site, for example &lt;<span class=SpellE>img</span> <span class=SpellE>src</span>=<a
href="http://www.unixhideout.com/img/blah.gif%20to%20%3cimg%20src=">http://www.unixhideout.com/img/blah.gif
to &lt;img <span class=SpellE>src</span>=</a>/<span class=SpellE>img/blah.gif</span><span
class=GramE>..</span> <span class=GramE>and</span> I access the box using <a
href="http://192.168.1.20/">http://192.168.1.20</a>; I don&#8217;t want to have
to do this, and a lot of things do not work for me and its my site!! Well, I posted
this a while ago, and a lot of people said if I ran my own DNS for my domain, I
could stop this from happening<span class=GramE>..</span> Well I took the time
to learn DNS a bit, and <span class=SpellE>im</span> running it now, and I was
wondering exactly what I need to do<span class=GramE>..</span> In my <span
class=SpellE>unixhideout.com.hosts</span> I specified this<span class=GramE>..</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>$<span
class=SpellE>ttl</span> 38400<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>IN<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>SOA<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp; </span>labs. <span
class=GramE>root.unixhideout.com. (</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>1025839968<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>10800<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>3600<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>604800<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span class=GramE>38400 )</span><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>IN<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>NS<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>labs<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>labs.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>root.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>RP<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>root.unixhideout.com. <span class=GramE>admin</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>Host-Info.unixhideout.com.<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>HINFO<span
style='mso-spacerun:yes'>&nbsp;&nbsp; </span>INTEL FreeBSD<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>mail.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp; </span><span
style='mso-spacerun:yes'>&nbsp;</span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>MX<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>10
65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>IN<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>A<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>mail.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>smtp.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>www.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>pop3.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>irc.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>email.unixhideout.com<span
class=GramE>.<span style='mso-spacerun:yes'>&nbsp; </span>IN</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>ftp.unixhideout.com</span></font></span><font size=2 color=black
face="Lucida Console"><span style='font-size:10.0pt;font-family:"Lucida Console";
color:black'>.<span style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>IN<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>A<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>65.187.193.189<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'>Everything
works<span class=GramE>..</span> You <span class=GramE>guys</span> (the net)
can go to my site and use all the services. But I cannot<span class=GramE>..</span>
I tried changing all those IPS to 192.168.1.20, and then I could use unixhideout.com
and you couldn&#8217;t!! <span class=SpellE><span class=GramE>im</span></span>
losing my patience! Please tell me what I have to do for the internet AND ME to
be able to use the domain I paid for! =] and when you explain pretend I&#8217;m
2 years old. <span class=SpellE><span class=GramE>Im</span></span><span
class=GramE> fragile.</span> Thanks!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black;mso-no-proof:
yes'>sagacious (Mike)</span></font><font color=black><span style='color:black;
mso-no-proof:yes'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black;mso-no-proof:
yes'>Network administrator</span></font><font color=black><span
style='color:black;mso-no-proof:yes'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black;mso-no-proof:
yes'>The unixhideout network</span></font><font color=black><span
style='color:black;mso-no-proof:yes'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Lucida Console"><span
style='font-size:10.0pt;font-family:"Lucida Console";color:black;mso-no-proof:
yes'><a href="http://www.unixhideout.com">http://www.unixhideout.com</a></span></font><o:p></o:p></p>;

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c23219$881c6a50$0a01a8c0>