![]() |
DNS & Domain Problem - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: DNS & Domain Problem (/thread-7506.html) Pages: 1 2 |
DNS & Domain Problem - dannad - 08-14-2009 07:59 PM Hi, I've just, at last, 'successfully' installed ispCP on my Debian Lenny VPS. However, I think I have a problem with DNS/Bind as my domains won't work but the IP address of my server does which is why I have ruled out Apache as being the problem. Bind is definitely running as 'named' is in the list when I use the command 'top'. My domain's nameservers are pointing to my VPSs IP. Please tell me what I have done wrong ![]() Thanks, Dan RE: DNS & Domain Problem - joximu - 08-14-2009 08:04 PM maybe this command helps: apache2 -S ping http://www.domain.tld pings to the ip of your server? Is there a NAT somewhere (external IP != internal IP) /J RE: DNS & Domain Problem - dannad - 08-14-2009 08:25 PM Hi Joximu, I ran 'apache2 -S' but got an error: "apache2: bad user name ${APACHE_RUN_USER}" I've tried pinging it and no it doesn't ping to the ip of my VPS. I have no idea about whether there is a NAT anywhere... I used to have everything working with Webmin & Virtualmin, but then I wiped my server to use ispCP. Thanks, Dan EDIT: I'm pretty sure it is something to do with BIND, my domain is definitely pointing to my server and apache is definitely working... RE: DNS & Domain Problem - joximu - 08-14-2009 09:16 PM ok, you need to replace the ${...} parts with other things... since I don't know where this faulty string is, maybe make a grep -r -C5 APACHE_RUN_USER /etc/apache2 and then post the result here... /J RE: DNS & Domain Problem - dannad - 08-15-2009 03:29 AM Quote:/etc/apache2/apache2.conf- ThreadsPerChild 10 RE: DNS & Domain Problem - kilburn - 08-15-2009 03:55 AM Have you tried to resolve the domains using "host" or "nslookup"? Do they resolve correctly? Maybe you can send me one of this domains through PM so I can diagnose where things are going bad... By the way, if you're quite sure it's a bind issue, please post the named-related lines in /var/log/syslog (grep -i named /var/log/syslog) so we can see if there's something strange there. RE: DNS & Domain Problem - joximu - 08-15-2009 04:42 AM ah sorry - lenny is different: apache2ctl -S /J RE: DNS & Domain Problem - dannad - 08-15-2009 07:06 AM (08-15-2009 03:55 AM)kilburn Wrote: Have you tried to resolve the domains using "host" or "nslookup"? Do they resolve correctly? Maybe you can send me one of this domains through PM so I can diagnose where things are going bad... No, they don't resolve using 'host' or 'nslookup'... I'll PM you in a moment. Quote:By the way, if you're quite sure it's a bind issue, please post the named-related lines in /var/log/syslog (grep -i named /var/log/syslog) so we can see if there's something strange there. There were a lot of lines... and I mean a lot... They were all in this format: "Aug 14 23:35:26 server1 named[20217]: client 207.164.234.193#13950: query (cache) 'domain.co.uk/A/IN' denied" Some slightly different than others... (08-15-2009 04:42 AM)joximu Wrote: ah sorry - lenny is different: apache2ctl -S returned: VirtualHost configuration: 69.162.68.4:80 admin.server1.hosting.domain.co.uk (/etc/apache2/sites-enabled/00_master.conf:24) Syntax OK Any help? I certainly don't understand it... Thanks, Dan RE: DNS & Domain Problem - kilburn - 08-15-2009 09:58 AM Quote:"Aug 14 23:35:26 server1 named[20217]: client 207.164.234.193#13950: query (cache) 'domain.co.uk/A/IN' denied" Your server is not configured as authoritative for this domain (domain.co.uk), so it refuses to resolve it for external clients. Please post your /etc/bind/named.conf file... RE: DNS & Domain Problem - dannad - 08-16-2009 06:57 AM Here is my named.conf: Quote:// This is the primary configuration file for the BIND DNS server named. |