[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
nslookup cobalt.com
See if you are able to get a response with the DNS entry? If you are then
you are
able to resolve domains outside your box and somewhere it is working. If you
are
not then you need to get the address of a dns server form Interliant.
> Feb 20 23:35:04 www sendmail[30238]: gethostbyaddr(209.196.37.204) failed:
2
> Feb 20 23:35:21 www sendmail[8552]: gethostbyaddr(209.196.37.204) failed:
2
> Feb 20 23:35:44 www sendmail[30238]: gethostbyaddr(209.196.37.205) failed:
2
> Feb 20 23:36:01 www sendmail[8552]: gethostbyaddr(209.196.37.205) failed:
2
These errors are the erros logged when sendmail tries to resolve a name to
the IP
address. It is unable to do so since you have your IP addresses forwarding
to
multiple names. It takes sendmail a good few minutes to timeout and proceed
as
normal.
The reason you have all those PTR entries (Reverse DNS) is because by
default
when you add an Address (A) record there is a little check box in the Cobalt
GUI
that is check that automatically adds a Reverse DNS entry. When you add A
records
make sure to always uncheck that box. Then you can go in and add a single
PTR
record if it is a new IP address. Let me give you a big example of this:
Say you have 4 domains on one IP address your DNS should look like this:
Ex. domain1.com
domain2.com
domain3.com
domain4.com
IP: 111.111.111.111
DNS settings:
domain1.com > 111.111.111.111
www.domain1.com > 111.111.111.111
domain2.com > 111.111.111.111
www.domain2.com > 111.111.111.111
domain3.com > 111.111.111.111
www.domain3.com > 111.111.111.111
domain4.com > 111.111.111.111
www.domain4.com > 111.111.111.111
111.111.111.111/24 > domain1.com
See how with all those domains you still only have one (1) PTR record for
the IP
addresses. Of course that is an incomplete DNS record for all those domains,
still need NS and MX, but you should get the picture.
Hope this helps.
-Dennis
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users
------_=_NextPart_001_01BF7C8A.640B7CCE
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: [cobalt-users] slow responding CGI's VERY long...</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I just fixed her dns. There was an un-needed line in the named.conf. Everything resloves now =)</FONT>
</P>
<P><FONT SIZE=2>Charlie</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Dennis [<A HREF="mailto:dkc@xxxxxxxxxxxxx">mailto:dkc@xxxxxxxxxxxxx</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, February 21, 2000 11:23 AM</FONT>
<BR><FONT SIZE=2>To: cobalt-users@xxxxxxxxxxxxxxx; Debbie Doerrlamm</FONT>
<BR><FONT SIZE=2>Subject: Re: [cobalt-users] slow responding CGI's VERY long...</FONT>
</P>
<BR>
<P><FONT SIZE=2>Debbie-</FONT>
</P>
<P><FONT SIZE=2>I hate to say it (but I am honest) your DNS is a "little" messed up. I am going</FONT>
<BR><FONT SIZE=2>to go through this the best I can in order to straighten things out. It is not</FONT>
<BR><FONT SIZE=2>any Interliant settings, but the DNS settings on the RaQ3. Remember when I said</FONT>
<BR><FONT SIZE=2>you can only have 1 PTR (Reverse DNS) record for each IP adrress well for some of</FONT>
<BR><FONT SIZE=2>them you have 20.</FONT>
</P>
<P><FONT SIZE=2>> beautytech.com 209.196.37.202</FONT>
<BR><FONT SIZE=2>> dns1.beautytech.com 209.196.37.202</FONT>
<BR><FONT SIZE=2>> dns2.beautytech.com 209.196.37.203</FONT>
<BR><FONT SIZE=2>> www.beautytech.com 209.196.37.202</FONT>
<BR><FONT SIZE=2>> 209.196.37.202/24 beautytech.com</FONT>
<BR><FONT SIZE=2>> 209.196.37.202/24 dns1.beautytech.com</FONT>
<BR><FONT SIZE=2>> 209.196.37.203/24 dns2.beautytech.com</FONT>
<BR><FONT SIZE=2>> 209.196.37.202/24 www.beautytech.com</FONT>
<BR><FONT SIZE=2>> beautytech.com mail is sent to the High priority mail server</FONT>
<BR><FONT SIZE=2>> www.beautytech.com</FONT>
</P>
<P><FONT SIZE=2>Ok. Here is what you have:</FONT>
</P>
<P><FONT SIZE=2> 209.196.37.202/24 beautytech.com</FONT>
<BR><FONT SIZE=2> 209.196.37.202/24 dns1.beautytech.com</FONT>
<BR><FONT SIZE=2> 209.196.37.203/24 dns2.beautytech.com</FONT>
<BR><FONT SIZE=2> 209.196.37.202/24 www.beautytech.com</FONT>
</P>
<P><FONT SIZE=2>Now that telling the DNS that if you go to the IP address 209.196.37.202 that it</FONT>
<BR><FONT SIZE=2>should go to beautytech.com, dns1.beautytech.com, and www.beatutech.com all at</FONT>
<BR><FONT SIZE=2>once. Which is impossible.</FONT>
</P>
<P><FONT SIZE=2>Delete all the PTR records (Reverse DNS) except for:</FONT>
</P>
<P><FONT SIZE=2>209.196.37.202/24 beautytech.com</FONT>
<BR><FONT SIZE=2> 209.196.37.203/24 dns2.beautytech.com</FONT>
</P>
<P><FONT SIZE=2>That leaves us with 1 PTR record for each of those IP addresses.</FONT>
</P>
<BR>
<P><FONT SIZE=2>> site1.com 209.196.37.204</FONT>
<BR><FONT SIZE=2>> www.site1.com 209.196.37.204</FONT>
<BR><FONT SIZE=2>> 209.196.37.204/24 site1.com</FONT>
<BR><FONT SIZE=2>> 209.196.37.204/24 www.site1.com</FONT>
</P>
<P><FONT SIZE=2>Ok. Here is where we have a similar type problem. With this DNS setting you are</FONT>
<BR><FONT SIZE=2>telling it to go to site1.com and ww.site1.com at the same time when someone</FONT>
<BR><FONT SIZE=2>tries to go to 209.196.37.207 . Even though to you they are the same site DNS</FONT>
<BR><FONT SIZE=2>does not think so. Delete the record that says:</FONT>
</P>
<P><FONT SIZE=2> 209.196.37.204/24 www.site1.com</FONT>
</P>
<BR>
<P><FONT SIZE=2>> on 205 there are 8 vsites none live, no A records set up yet</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> on 209.19.46.83 (I have .82-.86 there is some sort of problem with .82)</FONT>
<BR><FONT SIZE=2>> there is one vsite with a parked</FONT>
<BR><FONT SIZE=2>> vsite20.com 209.196.46.83</FONT>
<BR><FONT SIZE=2>> www.vsite20.com 209.196.46.83</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 vsite20.com</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 www.vsite20.com</FONT>
</P>
<P><FONT SIZE=2>Debbie same problem here. You have two PTR records for the same IP address.</FONT>
<BR><FONT SIZE=2>Delete one of them.</FONT>
</P>
<BR>
<P><FONT SIZE=2>> In the Control Panel>Services>DNS>Parameters Select a Domain or Network</FONT>
<BR><FONT SIZE=2>> dropdown box all of the domains are listed that have had A records set up,</FONT>
<BR><FONT SIZE=2>> additionally are listed:</FONT>
<BR><FONT SIZE=2>> 209.196.37.0/24</FONT>
<BR><FONT SIZE=2>> when selected I see 20 domains</FONT>
<BR><FONT SIZE=2>> IP -> domain.com [20 different entries]</FONT>
<BR><FONT SIZE=2>> IP -> host.domain.com [20 different entries]</FONT>
<BR><FONT SIZE=2>> IP -> dns1</FONT>
<BR><FONT SIZE=2>> IP-> dns2</FONT>
</P>
<P><FONT SIZE=2>You should only have one record that goes from a specific IP > a specific host.</FONT>
<BR><FONT SIZE=2>What happens is sendmail tries to resolve a hostname from the IP address and is</FONT>
<BR><FONT SIZE=2>unable to because DNS does not have a specific setting for it. It then times out</FONT>
<BR><FONT SIZE=2>within 2 - 4 minutes.</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>> 209.196.37.1/24</FONT>
<BR><FONT SIZE=2>> when selected same as above but additionally:</FONT>
<BR><FONT SIZE=2>> 209.196.37.1/24 is served by IP address 209.196.37.203</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 209.196.46.0/24</FONT>
<BR><FONT SIZE=2>> when selected I see</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 vsite20.com</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 www.vsite20.com</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 parked.com</FONT>
<BR><FONT SIZE=2>> 209.196.46.83/24 www.parked.com</FONT>
</P>
<P><FONT SIZE=2>Again . You have 209.196.46.83 pointing to 4 different domains. Think of it as</FONT>
<BR><FONT SIZE=2>having an A record and setting it to point to 4 different IP addresses. Which one</FONT>
<BR><FONT SIZE=2>should DNS chose as the real one to resolve to?</FONT>
</P>
<BR>
<P><FONT SIZE=2>> Hope you got down this far <G> This is where you lost me..</FONT>
<BR><FONT SIZE=2>></FONT>
</P>
<P><FONT SIZE=2>I am here :)</FONT>
</P>
<P><FONT SIZE=2>> The network settings show:</FONT>
<BR><FONT SIZE=2>> the primary and secondary NS as dns1.beautytech.com and dns2.beautytech.com</FONT>
<BR><FONT SIZE=2>> at 209.196.37.202 and 203 respectively.</FONT>
</P>
<P><FONT SIZE=2>From my experience with hosting both Primary and Secondary DNS on the same server</FONT>
<BR><FONT SIZE=2>you need to have a "real" dns server in the secondary ns section. Normally what</FONT>
<BR><FONT SIZE=2>we have done when you get a box from digital nation is put their primary ns in</FONT>
<BR><FONT SIZE=2>the secondary ns section and put our primary in the primary section. With the</FONT>
<BR><FONT SIZE=2>setting you have now your box is unable to resolve any domains except for the</FONT>
<BR><FONT SIZE=2>ones that are hosted in your machine. Try doing a nslookup from the command</FONT>
<BR><FONT SIZE=2>prompt:</FONT>
</P>
<P><FONT SIZE=2>nslookup cobalt.com</FONT>
</P>
<P><FONT SIZE=2>See if you are able to get a response with the DNS entry? If you are then you are</FONT>
<BR><FONT SIZE=2>able to resolve domains outside your box and somewhere it is working. If you are</FONT>
<BR><FONT SIZE=2>not then you need to get the address of a dns server form Interliant.</FONT>
</P>
<BR>
<P><FONT SIZE=2>> Feb 20 23:35:04 www sendmail[30238]: gethostbyaddr(209.196.37.204) failed: 2</FONT>
<BR><FONT SIZE=2>> Feb 20 23:35:21 www sendmail[8552]: gethostbyaddr(209.196.37.204) failed: 2</FONT>
<BR><FONT SIZE=2>> Feb 20 23:35:44 www sendmail[30238]: gethostbyaddr(209.196.37.205) failed: 2</FONT>
<BR><FONT SIZE=2>> Feb 20 23:36:01 www sendmail[8552]: gethostbyaddr(209.196.37.205) failed: 2</FONT>
</P>
<P><FONT SIZE=2>These errors are the erros logged when sendmail tries to resolve a name to the IP</FONT>
<BR><FONT SIZE=2>address. It is unable to do so since you have your IP addresses forwarding to</FONT>
<BR><FONT SIZE=2>multiple names. It takes sendmail a good few minutes to timeout and proceed as</FONT>
<BR><FONT SIZE=2>normal.</FONT>
</P>
<P><FONT SIZE=2>The reason you have all those PTR entries (Reverse DNS) is because by default</FONT>
<BR><FONT SIZE=2>when you add an Address (A) record there is a little check box in the Cobalt GUI</FONT>
<BR><FONT SIZE=2>that is check that automatically adds a Reverse DNS entry. When you add A records</FONT>
<BR><FONT SIZE=2>make sure to always uncheck that box. Then you can go in and add a single PTR</FONT>
<BR><FONT SIZE=2>record if it is a new IP address. Let me give you a big example of this:</FONT>
</P>
<P><FONT SIZE=2>Say you have 4 domains on one IP address your DNS should look like this:</FONT>
</P>
<P><FONT SIZE=2>Ex. domain1.com</FONT>
<BR><FONT SIZE=2> domain2.com</FONT>
<BR><FONT SIZE=2> domain3.com</FONT>
<BR><FONT SIZE=2> domain4.com</FONT>
<BR><FONT SIZE=2> IP: 111.111.111.111</FONT>
</P>
<P><FONT SIZE=2>DNS settings:</FONT>
</P>
<P><FONT SIZE=2>domain1.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>www.domain1.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>domain2.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>www.domain2.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>domain3.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>www.domain3.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>domain4.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>www.domain4.com > 111.111.111.111</FONT>
<BR><FONT SIZE=2>111.111.111.111/24 > domain1.com</FONT>
</P>
<P><FONT SIZE=2>See how with all those domains you still only have one (1) PTR record for the IP</FONT>
<BR><FONT SIZE=2>addresses. Of course that is an incomplete DNS record for all those domains,</FONT>
<BR><FONT SIZE=2>still need NS and MX, but you should get the picture.</FONT>
</P>
<P><FONT SIZE=2>Hope this helps.</FONT>
</P>
<P><FONT SIZE=2> -Dennis</FONT>
</P>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>cobalt-users mailing list</FONT>
<BR><FONT SIZE=2>cobalt-users@xxxxxxxxxxxxxxx</FONT>
<BR><FONT SIZE=2><A HREF="http://list.cobalt.com/mailman/listinfo/cobalt-users" TARGET="_blank">http://list.cobalt.com/mailman/listinfo/cobalt-users</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01BF7C8A.640B7CCE--