Why DNS query shows different result for some hours?

Ralph Janke txwikinger at ubuntu.com
Fri Oct 17 20:02:20 UTC 2008


I am not 100% sure that I understand what you say.

As I understand it, you have configured your domain name
record to have your own machine as the first DNS server,
and a server from a public service provider as the second.

I do not understand if the DNS records for your domain between
the two are synced. If not this needs to be done.

DNS works in a redundant way. DNS servers will get the information
from any one of the DNS servers that are in the domain name record.
Therefore all DNS servers configured must have the same information.
This can usually be done by configuring one primary and the other ones
as secondary severs. However, I am not sure if you can do that in your
situation.

Then it is irrelevant which server is named in the authority section.

However, it almost looks to me that your own machine is not always
available to the outside and the other server does not have the right
information.

If you want to, you can send me to my email privately the information
how you have set everything up, and I can have a look.

Hope this helps,

- Ralph



Corman 4u wrote:
> I have had a domain name and set up with 2 DNS servers from a public service
> provider.
> Recently, I changed one of DNS servers with my IP, which has my own DNS on
> LINUX.
> So first DNS of the domain is my DNS server and the second is one of DNS
> servers of the public service provider.
> When I query the domain, sometimes it works for hours; dig command shows my
> IP in Answer Section.
> But sometimes it doesn't work; dig command shows my IP (my DNS) or the DNS
> server of the business service alternatively.
> This situation is repeating for several days; it works well for several
> hours, but doesn't for the next several hours.
> While DNS query shows different result at each query, outside clients get
> Gateway Timeout with code=DNS_TIMEOUT.
> Is there anybody who knows the reason and how to fix this problem?
>
> Corman
>
>   





More information about the ubuntu-ca mailing list