Changed host, can't get domains to work (bind errors)

Discussion in 'Installation/Configuration' started by jagodica, Jul 26, 2015.

  1. jagodica

    jagodica New Member

    HI.
    I changed hosts, installed ispconfig, setup dns, zones, namservers... Everything from the last host where all this did work.

    Now it's not working and im getting errors.

    DIG:

    Code:
    ; <<>> DiG 9.9.5-3ubuntu0.3-Ubuntu <<>> @localhost mydomain.com
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3501
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;mydomain.com.  IN  A
    
    ;; Query time: 4000 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Sun Jul 26 03:37:11 EDT 2015
    ;; MSG SIZE  rcvd: 41
    
    Code:
    ; <<>> DiG 9.9.5-3ubuntu0.3-Ubuntu <<>> mydomain.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 28076
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;mydomain.com.  IN  A
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Sun Jul 26 04:24:34 EDT 2015
    ;; MSG SIZE  rcvd: 41
    
    I dont know why is there
    Code:
    ; (2 servers found)
    

    From DIG web I got:

    Code:
    /usr/bin/dig: couldn't get address for 'ns1.mydomain.com': no more
    

    Also:
    Code:
    
    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:61
    AH00112: Warning: DocumentRoot [/var/www/mydomain.com/web] does not exist
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using xxx.xx.xxx.xxx. Set the 'ServerName' directive globally to suppress this message
    

    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Restart bind and then check /var/log/syslog for bind / named errrors.
     

Share This Page