PDA

View Full Version : DNS Problems


nenad
21st April 2006, 01:36
I can add A Record for "mail" in DNS records for my domain web-hosting-solutions.biz

but it seems that it is not accepted by BIND ?
according to the http://www.dnsstuff.com/tools/lookup.ch?name=web-hosting-solutions.biz&type=A
(real time, not cashed)

withouth that record I have this error:
ERROR: None of your mail server(s) seem to have reverse DNS (PTR) entries (I didn't get any responses for them).

and

ERROR: I could not complete a connection to any of your mailservers!

mail.web-hosting-solutions.biz: Could not connect without glue or A record.

at http://www.dnsreport.com/tools/dnsreport.ch?domain=web-hosting-solutions.biz

Why there is no changes if I manually edit:
/var/named/chroot/var/named/pri.web-hosting-solutions.biz

$TTL 3600
@ IN SOA ns1.web-hosting-solutions.biz. admin.web-hosting-solutions.biz. (
2006032730
1200
120
1209600
3600 )
;
web-hosting-solutions.biz. IN NS ns1.web-hosting-solutions.biz. ; Inet Address of name server 1
NS ns2.web-hosting-solutions.biz. ; Inet Address of name server 2
;

MX 10 mail.web-hosting-solutions.biz.

web-hosting-solutions.biz. IN A 87.116.136.92
www.web-hosting-solutions.biz. IN A 87.116.136.92
ns1.web-hosting-solutions.biz. IN A 87.116.136.92
ns2.web-hosting-solutions.biz. IN A 87.116.136.92

web-hosting-solutions.biz. TXT "v=spf1 mx ?all"

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
mail.web-hosting-solutions.biz. IN A 87.116.136.92

nenad
21st April 2006, 01:46
Does this helps?
[Fri Apr 21 00:11:19 2006] [notice] caught SIGTERM, shutting down
[Fri Apr 21 00:13:32 2006] [notice] Apache/1.3.34 (Unix) PHP/5.0.4 mod_ssl/2.8.25 OpenSSL/0.9.8a configured -- resuming normal operations
[Fri Apr 21 00:13:32 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
df: `/var/named/chroot/proc': Permission denied
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/globus.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/globus-0.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/vzzu-1.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/vzauf-1.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/vzzu-0.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/vzauf-0.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/ini.gif
[Fri Apr 21 00:16:51 2006] [error] [client 87.116.136.92] File does not exist: /home/admispconfig/ispconfig/web/help/bilder/adresse.gif
df: `/var/named/chroot/proc': Permission denied
df: `/var/named/chroot/proc': Permission denied
df: `/var/named/chroot/proc': Permission denied
df: `/var/named/chroot/proc': Permission denied
df: `/var/named/chroot/proc': Permission denied
[Fri Apr 21 00:37:35 2006] [notice] caught SIGTERM, shutting down

nenad
21st April 2006, 02:04
I stopped ISPConfig, then I added record at:

$TTL 3600
@ IN SOA ns1.web-hosting-solutions.biz. admin.web-hosting-solutions.biz. (
2006032730
1200
120
1209600
3600 )
;
web-hosting-solutions.biz. IN NS ns1.web-hosting-solutions.biz. ; Inet Address of name server 1
NS ns2.web-hosting-solutions.biz. ; Inet Address of name server 2
;

MX 10 mail.web-hosting-solutions.biz.

web-hosting-solutions.biz. IN A 87.116.136.92
www.web-hosting-solutions.biz. IN A 87.116.136.92
ns1.web-hosting-solutions.biz. IN A 87.116.136.92
ns2.web-hosting-solutions.biz. IN A 87.116.136.92

web-hosting-solutions.biz. TXT "v=spf1 mx ?all"

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
mail.web-hosting-solutions.biz. IN A 87.116.136.92

Then I chechked with:
http://www.dnsstuff.com/tools/lookup.ch?name=web-hosting-solutions.biz&type=ALL

And now it seems that A record for mail si accepted?

After that I restarted ISPConfig...

falko
21st April 2006, 12:42
df: `/var/named/chroot/proc': Permission denied
What's the output of ls -la /var/named/chroot/?

nenad
21st April 2006, 15:56
[root@web-hosting-solutions ~]# ls -la /var/named/chroot/
total 40
drwxr-x--- 6 root named 4096 Mar 31 02:01 .
drwxr-x--- 5 root named 4096 Apr 20 22:14 ..
drwxr-x--- 2 root named 4096 Mar 31 02:01 dev
drwxr-x--- 2 root named 4096 Apr 20 22:48 etc
dr-xr-xr-x 99 root root 0 Apr 21 05:01 proc
drwxr-x--- 5 root named 4096 Mar 14 2003 var
[root@web-hosting-solutions ~]#

falko
21st April 2006, 18:33
Try this: chmod -R 755 /var/named/chroot/

nenad
21st April 2006, 18:40
chmod: changing permissions of `/var/named/chroot/proc/10071/task/10071': Operation not permitted

till
21st April 2006, 20:11
You have to login as root user to chnage the permissions.

nenad
21st April 2006, 20:30
I am allways loging as root (through SSH)

chmod: changing permissions of `/var/named/chroot/proc/10151': Operation not permitted
chmod: changing permissions of `/var/named/chroot/proc/10151/task/10151': Operation not permitted
[root@web-hosting-solutions ~]#

falko
22nd April 2006, 17:34
Ignore these warnings.