Hello there! I have connection like Internet(IP:111.111.111.111) > Router(IP:192.168.1.1) > Server(IP:192.168.1.5). All neede ports ar opened and forwarded(53 udp/tcp). Which IP i need to type in server settings and in dns settings? I need to type the IP of outside network (111.111.111.111) or a local network (192.168.1.5)?
Still doesen't works. Can't access throught domain. It is first time, that i let my server connect to internet throught router, before this on two other servers with ispconfig all was working good and first dns servers refreshed very fast.
what info do you have listed in your dns records tab? also, are you port forwarding from your ip directly to this box within your router so port 53 from external is open directly to port 53 on your box (along with the other ports like 80)?
Info that i have listed in my dns records tab (DNS Manager > Site): Router forwarding (80 port from outside works - tested, then 53 port need to work too): But what confuses me is this (shows local area IP in section ISP Manager > Site):
everything looks right to me even the last part. maybe you just need to wait for the dns to propogate so it points to your domain. also, do you have ns.lejup.lv registered as dns server at your name provider so it points to your external ip? and another question that I can't answer....look slike your server is your NS as well as the domain being hosted and I don't think that can work...but I could be wrong on that one. <--I really think I AM wrong on that last part. is this the same server that WAS direct but NOW behind router? if so, make sure you changed your ip address in /etc/hosts file.
The same config worked before - just without router. Now i reinstalled my system from 0 and I am behind router. Which IP i need in hosts file? My external or internal?
did you use a falko perfect server setup? I assume you have selinux disabled and the firewall turned off right? You don't need it since you have the router handling the open ports.
I seem to be having the same issues as this using the debian setup guide with ISPconfig 3. I can dig DNS internally fine, I have all ports open on the PFsense firewall but cannot connect on the internet to the DNS servers. Apache works fine. I have done the setup in 2 different locations with 2 different firewalls with the same result? Is it possible to run this behind NAT?
This has not much to do with ISPConfig. Just configure your router so it forwards the dns port to your server. Please look at the router manual for details.
Then contact your provider and ask them if they allow to run dns servers, otherwise they might have blocked the port from their side.