Forum Moderators: phranque

Message Too Old, No Replies

DNS trouble

         

sakrina

12:05 pm on Jan 2, 2007 (gmt 0)

10+ Year Member



may be the wrong place but i try :)

dns server

local webserver insite local network throug a nat router.

212.212.212.212 is the adress from the nat router

internal webserver got 192.168.178.4

ports on the nat router -> 192.168.178.4:80

so far this works and the hole world can access my webserver.

now i want to set up a dns and there i strugle somehow.

----------
port on the nat router 192.168.178.4:53 (tcp/udp)

dns server on 192.168.178.4

$TTL3600;
@IN SOA test.tld. postmaster.test.tld. (
2006060901;
10800;
3600;
604800;
86400 );
localhost IN A 127.0.0.1
@ 3600 IN A 192.168.178.4
@3600 IN NS ns1.test.tld.
@IN MX 10 mail.test.tld.
mail IN A 192.168.178.4
ftp IN A 192.168.178.4
www IN A 192.168.178.4
***********
dns server entry on the registrar. test.tld -> 212.212.212.212

but i allways get the error nameserver dosent respond.

Now my question what is wrong on this setup, or does it not work becouse the dns server is insite the local network?

jtara

12:56 am on Jan 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Even if you got past the "namesever doesn't respond" messages, this still wouldn't work.

The addresses you are serving for www, ftp, etc. are internal addresses and meaningless on the outside.

Not sure why you want to do this. Why not use the free DNS provided by most registrars, or if your registrar doesn't provide this, a third-party DNS provider? (You can get this free from some providers for a small number of domains.)

sakrina

10:07 pm on Jan 3, 2007 (gmt 0)

10+ Year Member



was just a test i try to do. since websrver and ftp works great.
but it seems the dns is another story..

but thanks for the answer :)