dns is not working through internet
Hi, i recently installed echp and tested over mi lan network without any problem, so i try to put into the internet.
i'm from argentina, so i went to nic.ar, the page who manage the domain names , dns etc.
i register a dns for my ip address (1 dns per ip is allowed).
i register a test page and delegate the dns to the one i had register in first place and other at random.
i had all the necessary ports opened, like 53,80,21,443 etc.
i don't know how much time take to the dns of my server to translate the domains or how can i make them work.... right now, i had my domain in nic.ar with primary dns ns2.lancube.com.ar wich is pointing to my external ip address, but
i can't reach any web page or doing ping to the dns.
url www.alojarpaginas.com.ar
dns ns2.lancube.com.ar
i only can acces to some webpages in my ehcp server in wichs i am using as secondary dns one that works from a free dns server.
it has been no more than 20 hours since echp is online.
thanks in advance
ehcpdeveloper
Wed, 08/26/2009 - 18:13
Permalink
190.2.27.253 if this is your
190.2.27.253
if this is your external ip, I tested, does not accept dns requests... Your port 53 seems closed.
This caused mainly by one of these:
elmarkivo
Thu, 08/27/2009 - 06:12
Permalink
dns
hi i have checked all the things you said...
i had a firewall router in ip 192.168.0.254 ...
my firewall config in : http://www.lancube.com.ar/imagenes/dns-firewall.PNG
my port forward config: http://www.lancube.com.ar/imagenes/dns-portForward.PNG
-----
bind in my server over putty: http://www.lancube.com.ar/imagenes/dns-bind.PNG
-----
i think those config are just fine, the only thing is ...
"your server/server's internal firewall.. check those "
my firewall/router is running on 192.168.0.254 ... what do you mean with your server/server's internal firewall??
thanks a lot
ehcpdeveloper
Thu, 08/27/2009 - 19:09
Permalink
You have a problem at:
You have a problem at: http://www.lancube.com.ar/imagenes/dns-firewall.PNG
According to that: you allow dns from internet to your server, but you do not allow from your server to outside world.
This explains everything. Thats why you/your server can reach internet, but internet cannot reach you.
Solution: the source column should be Any for both tcp,udp, port 53.
your port forward config is ok.
The last:
"your server/server's internal firewall.. check those ": I mean, sometime, people install firewall on servers too... if you did not install, dont wory... but if you/somebody installed firewall on your server, you should enable ports on your server too.. to check, on another computer on your internal network, on command line:
nmap yourserverip
you should see something open..
elmarkivo
Tue, 09/01/2009 - 03:30
Permalink
from the internet if i use
from the internet if i use the host command i see this:
ehcp:~# host alojarpaginas.com.ar
alojarpaginas.com.ar.local.com has address 63.251.207.31
if i use dig command i see this:
ehcp:~# dig alojarpaginas.com.ar
; <<>> DiG 9.5.1-P3 <<>> alojarpaginas.com.ar
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14927
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;alojarpaginas.com.ar. IN A
;; ANSWER SECTION:
alojarpaginas.com.ar. 86400 IN A 190.2.27.253
;; AUTHORITY SECTION:
alojarpaginas.com.ar. 86400 IN NS ns.alojarpaginas.com.ar.
;; ADDITIONAL SECTION:
ns.alojarpaginas.com.ar. 86400 IN A 190.2.27.253
;; Query time: 10 msec
;; SERVER: 190.2.27.253#53(190.2.27.253)
;; WHEN: Fri Aug 28 14:45:16 2009
;; MSG SIZE rcvd: 87
the dig IP is showing is ok 190.2.27.253, but in the host command a local.com is added at the end of alojarpaginas.com.ar and the ip showed is from the host www.local.com ... what i am doin wrong?
thanks
ehcpdeveloper
Tue, 09/01/2009 - 22:04
Permalink
did you fix
did you fix http://www.lancube.com.ar/imagenes/dns-firewall.PNG ? to appear as any on both...
elmarkivo
Wed, 09/02/2009 - 14:17
Permalink
fix
yes i have fixed, now is like this
http://www.lancube.com.ar/imagenes/firewall.jpg
and
http://www.lancube.com.ar/imagenes/portFordward.JPG
i don't understand why is redirecting to local.com ip ......
thanks again for all the replies !