DNS Problems

Discussion in 'Installation/Configuration' started by nenad, Apr 21, 2006.

  1. nenad

    nenad ISPConfig Developer ISPConfig Developer

    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
     
  2. nenad

    nenad ISPConfig Developer ISPConfig Developer

    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
     
  3. nenad

    nenad ISPConfig Developer ISPConfig Developer

    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...
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/named/chroot/
    ?
     
  5. nenad

    nenad ISPConfig Developer ISPConfig Developer

    [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 ~]#
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Try this:
    Code:
    chmod -R 755 /var/named/chroot/
     
  7. nenad

    nenad ISPConfig Developer ISPConfig Developer

    chmod: changing permissions of `/var/named/chroot/proc/10071/task/10071': Operation not permitted
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to login as root user to chnage the permissions.
     
  9. nenad

    nenad ISPConfig Developer ISPConfig Developer

    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 ~]#
     
  10. falko

    falko Super Moderator ISPConfig Developer

    Ignore these warnings.
     

Share This Page