DNS Issues

8 posts / 0 new
Last post
#1 Thu, 05/27/2010 - 15:41
cjack2036

DNS Issues

I just cannot seem to get this server right. among other things, I am using my server as a nameserver. I have 4 different virtual domains on the server. 3 domains seem to have no problem. I am constantly getting dns errors when going to the 4th site. Sometimes it resolves, and other times it will not. When it does not, i usually ask opendns which nameserver is failing and its always ns2, but ns2 and ns1 are both on the same machine, which happens to be local. Also, why is it even looking at ns2 since ns1 is not high traffic or failing? Im not sure what info I need to forward, but this is frustrating!

Thu, 05/27/2010 - 18:01
andreychek

Howdy,

DNS queries would alternate between all the nameservers listed for a given domain. So if there's any kind of problem with one nameserver or the other, it could intermittently show up.

One thing you might do is go to intodns.com, and have it run a DNS report on the domain you're having trouble with. If there's a problem with your DNS setup, it might be able to assist you in figuring out what that is.

-Eric

Wed, 06/02/2010 - 14:09
cjack2036

Eric,

I went to the website you gave me and pulled a report. Some of the issues, i was able to reolve, others I could not. It seems that my server is not recognizing the second ip address i assigned the server (ns2). Can you tell me the proper way to add a second ip address to the server? I have 3 to use, and it seems as if only one is being used by the server.

Thanks

Wed, 06/02/2010 - 14:18
andreychek

If you log into your server using SSH and type the command "/sbin/ifconfig", what is the output you get?

That will tell us what interfaces it thinks are there.

-Eric

Wed, 06/02/2010 - 14:44
cjack2036

eth0 Link encap:Ethernet HWaddr 40:61:86:c9:e3:8b
inet addr:72.0.0.174 Bcast:72.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::4261:86ff:fec9:e38b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1529187 errors:0 dropped:211513722 overruns:0 frame:0 TX packets:1759284 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:682708477 (651.0 MB) TX bytes:483780214 (461.3 MB) Interrupt:221 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:551390 errors:0 dropped:0 overruns:0 frame:0 TX packets:551390 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:52408766 (49.9 MB) TX bytes:52408766 (49.9 MB)

Wed, 06/02/2010 - 14:52
andreychek

Yeah, as you suspected, it looks like you only have one IP address online.

How did you attempt to add the additional IP address to your system?

-Eric

Wed, 06/02/2010 - 15:21
cjack2036

I did it when i first setup the server, so I really cant remember the steps. How do I add the ip now so that Virtualmin and the server recognize it?

Wed, 06/02/2010 - 19:58
andreychek

I did it when i first setup the server, so I really cant remember the steps

Okay, no problem, that answers my question... I just wanted to make sure there wasn't any data added into Virtualmin along those regards, but it doesn't sound like it!

To add the interface, you can go into Webmin -> Networking -> Network Configuration -> Network Interfaces. Click "Add a new interface", name it something like "eth0:1", and pop in the IP address. The rest of the defaults there should be good.

-Eric

Topic locked