[solved] Bind problem - IP issue? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: [solved] Bind problem - IP issue? (/thread-8531.html) Pages: 1 2 |
[solved] Bind problem - IP issue? - DarkSide - 11-23-2009 04:58 PM Hello all, Bind is running, confirmed with: Code: ps waux | grep named but the output of this confuses me: Code: netstat -tlnp | grep named Am I right in thinking that it should be showing my internet web IP and not localhost? Is this why even though bind is running that it shows as "bind down" in the server status page and that my nameservers do not work? Can someone please help me fix this, I dont want to break it heehee Many thanks, Paul. RE: Bind problem - IP issue? - BeNe - 11-23-2009 05:25 PM Quote:Am I right in thinking that it should be showing my internet web IP and not localhost?Yes! Quote:Is this why even though bind is running that it shows as "bind down" in the server status page and that my nameservers do not work?Yes! Please post the related config files for bind and the reslov.conf. Greez BeNe RE: Bind problem - IP issue? - DarkSide - 11-23-2009 05:52 PM Resolv.conf is as follows: Code: nameserver 127.0.0.1 I assume this part of the config is the problem: Code: // be authoritative for the localhost forward and reverse zones, and for What do I need to do to fix this, I dont know about bind at all lol Thanks BeNe. RE: Bind problem - IP issue? - BeNe - 11-23-2009 06:13 PM Is this all in your your named.conf ? Did you add a domain to your ispCP ? If you check your "/var/cache/bind/domain.tld.db" about "ns1" entry with your external IP. Greez BeNe RE: Bind problem - IP issue? - DarkSide - 11-23-2009 06:18 PM I fixed it! I installed webmin from the .deb and used that to edit the ip address that bind was listening on from localhost to my external IP then restarted bind then removed webmin. Bind shows as running in ispCP now. I cant see what config file that changed though, I am curious Thankyou BeNe for confirming that the problem was this, great product RE: Bind problem - IP issue? - kurgans - 11-23-2009 06:35 PM I think your DNS is only running on localhost (127.0.0.1), you can release that data in / etc / bind / named.conf.options. I'm sorry my English RE: Bind problem - IP issue? - DarkSide - 11-23-2009 06:56 PM (11-23-2009 06:35 PM)kurgans Wrote: I think your DNS is only running on localhost (127.0.0.1), you can release that data in / etc / bind / named.conf.options. Sure, here it is Code: options { RE: Bind problem - IP issue? - BeNe - 11-23-2009 07:16 PM Here is mine named.conf.options - and bind9 is bind to my external IP´s Code: options { Greez BeNe RE: Bind problem - IP issue? - DarkSide - 11-23-2009 07:30 PM Thanks BeNe. I have now setup a domain using the nameservers I have created and registered them. When I check the DNS with checkdns.net it says the following: Code: Tried to fetch SOA record for domain, but DNS server ns1.mydomain.net [ip address here] returned error code Refused Its like its not accepting connections from outside maybe? RE: Bind problem - IP issue? - BeNe - 11-23-2009 07:48 PM Is bind9 now listening on the external IP ? Own IPTables that block Port 53 ? Check you syslog Greez BeNe |