[wellylug] DNS networking
Enkidu
enkidu at cliffp.com
Fri May 14 19:34:35 NZST 2004
On Fri, 14 May 2004 08:09:36 +1200, you wrote:
>G'day
>Thanks a lot for the replies. It helps a lot.
>I'd like to complete it with 2 things :
>
>> Don't understand the question.
>Ok here it is:
>
>I had (in my dns Config)
>> >;; ANSWER SECTION:
>> >myserver.chalaron.org. 86400 IN A 192.168.1.52
>
>Should I rewrite it like :
>
>> >;; ANSWER SECTION:
>> >myserver.chalaron.org. 86400 IN A my_static_ip
>
There should be an A record for the external address AND an A record
for the internal address. An internal client requires the internal
address and an external client requires the external address (which is
NATted to the internal address). This mean that the *same* machine has
(at least) two names.
When an external client wants to find the IP address of your web
server it queries your DNS by sending a query to the gateway (port
53). This gets NATted to the DNS server which responds with the
gateway address. The external client then sends another packet (port
80) to request a page to the gateway address. This gets NATted to the
internal address of the web server.
>
>Second point is that I figured that there is a DNS thing on my allied telesyn
>router/dsl modem... Should I turn it off or write 192.168.1.52 as my first
>DNS as well ? I am afraid it would interfer with other settings.
>Thanks again
You should be able to switch the DNS off.
Cheers,
Cliff
More information about the wellylug
mailing list