Question regarding DNS handling
Posted: Fri Sep 04, 2009 2:00 pm
Hi,
Sorry, this is a longer post. But couldnt find a way to explain this more simple in this specific setup.
At first I have to say really great S/W. Have used it in a couple of my projects. Now with the configurable email relay the notification is perfect. Anyway, have a new setup. Was supposed to be a simple project....and as usual it ends complicated. Have setup freenats 1.04.6b in VM on a laptop with a USB internet stick (HSUPA) to monitor a portal on the mobile network if it fails. Had to change the vm to have a NAT network and not bridged, because network only authenticates my laptop and not a second IP on network from a bridged network....this is no issue (I can work around all the issues this is causing, tunneling the email etc). Now to the issue:
I monitor a portal, one time with IP address in webtime test and the second time with full FQDN(URL).
Have also setup DNS query of the same domain withe the 2 DNS servers on the mobile network.
There is very little difference when i compare the graphs from the IP and the URL test of the portal.
When I look at the DNS query (A-record, UDP test set) there is a lot of times the DNS server does not answer.
Now my assumption was, when DNS query fails, the same must happen to webserver test with the FQDN. Then when looking in DNS spec it says if first DNS query via UDP fails it will be repeated with TCP......This would explain that I do not have drop outs for the Portal test with FQDN. But the DNS spec says also, when the first UDP request fails the seond request with TCP will be done after 2-5 seconds........now my assumption was I should see now a 2-5 second delay on the portal test with FQDN when compared the same test with IP address. But there is almost no difference, for sure no 2-5 sec bigger delay.
Any idea what is the problem?
What is the delay when web test with UDP fails and then repeats with TCP ?
The DNS has dropp-outs, I verified this with http://swmirror.org/drupal/?q=node/93
Other question, when set to simple test, what is the timeout that freenats will log test fails ?
Any help appreciated, Thanks Wolfgang
Sorry, this is a longer post. But couldnt find a way to explain this more simple in this specific setup.
At first I have to say really great S/W. Have used it in a couple of my projects. Now with the configurable email relay the notification is perfect. Anyway, have a new setup. Was supposed to be a simple project....and as usual it ends complicated. Have setup freenats 1.04.6b in VM on a laptop with a USB internet stick (HSUPA) to monitor a portal on the mobile network if it fails. Had to change the vm to have a NAT network and not bridged, because network only authenticates my laptop and not a second IP on network from a bridged network....this is no issue (I can work around all the issues this is causing, tunneling the email etc). Now to the issue:
I monitor a portal, one time with IP address in webtime test and the second time with full FQDN(URL).
Have also setup DNS query of the same domain withe the 2 DNS servers on the mobile network.
There is very little difference when i compare the graphs from the IP and the URL test of the portal.
When I look at the DNS query (A-record, UDP test set) there is a lot of times the DNS server does not answer.
Now my assumption was, when DNS query fails, the same must happen to webserver test with the FQDN. Then when looking in DNS spec it says if first DNS query via UDP fails it will be repeated with TCP......This would explain that I do not have drop outs for the Portal test with FQDN. But the DNS spec says also, when the first UDP request fails the seond request with TCP will be done after 2-5 seconds........now my assumption was I should see now a 2-5 second delay on the portal test with FQDN when compared the same test with IP address. But there is almost no difference, for sure no 2-5 sec bigger delay.
Any idea what is the problem?
What is the delay when web test with UDP fails and then repeats with TCP ?
The DNS has dropp-outs, I verified this with http://swmirror.org/drupal/?q=node/93
Other question, when set to simple test, what is the timeout that freenats will log test fails ?
Any help appreciated, Thanks Wolfgang