Trying to Host DNS with Bind, SO close, question
Ok, so I want to host my domain mizfitz.org with my computer using BIND. I did this before with FreeBSD and for some reason having trouble getting it to work on CentOS 6. It took forever but I am able to ping my domain (from inside the network and outside the network) but when I visit the webpage from inside the network it pulls up my router's configuration page. And if you try to access it from Outside the network it cant find the webpage.
I simply need some experienced eyes to look this over for me and show me where I am going wrong if you could Here is all the relevant information I could think to add: MY IP ADDRESS 68.186.186.44 ROUTER IP ADDR 192.168.2.1 NameServers are at ns3/ns12.zoneedit.com (my ip is dynamic so they act as my nameservers) Code:
[root@mizfitz etc]# ping -c3 www.mizfitz.org Code:
[root@mizfitz etc]# dig www.mizfitz.org Code:
[root@mizfitz etc]# nslookup www.mizfitz.org Code:
options { Code:
$TTL 3600 Code:
@ IN SOA ns3.zoneedit.com. mizfitz.org. ( When I visit in a webbrowser http://www.mizfitz.org/ i get my router config page When Outsider visits http://www.mizfitz.org/ just not found Outsider can ping/dig/nslookup just fine If you need anymore info let me know What I think it is, I think it has something to do with either my router (this machine is currently set on the DMZ, but get same results inside router when I simply portforward) or it has to do with my reverse ip settings Any help will be greatly appreciated! |
Well a couple of things here.
Have you created a PAT(port address translation) in your router so the HTTP requests are redirected to 192.168.2.5? And you need to read about BIND Views and NAT(network address translation). From the outside they are reaching your router that most likely has all ports closed, if open the port and map it to your machine, from the outside they will be able to see it. Now on your internal network you are providing your public IP, which is indeed the router, hence the need for views. |
thank you
My machine is on the DMZ, a feature that my router provides that sets the server outside of any firewall and port forwarding, so that I do not have to forward ports. Or atleast that is how it worked on FreeBSD. Also my reverse IP zone file designates my LAN IP (192.168.2.5) in the PTR record. If that is not what you are referring to please explain, thanks for the response! |
[SOLVED] I guess it was a directory error, did a fresh install of CentOS and copied those files back over, works like a charm
|
All times are GMT -5. The time now is 05:33 PM. |