MyDNS and problem with a new domain

Discussion in 'Installation/Configuration' started by MethOd, Sep 23, 2010.

  1. MethOd

    MethOd New Member

    My installation look's like that:

    - New clean installation of debian lenny.
    - All packages installed with instructions.
    - All works fine but:

    I have domain parked on other ns server, and i want to park it on my server.

    How to configure my ispcontrol v3 to change delegation and park domain in my registrar ???

    When i want to change delegation for other dns server (exact mine server) i have an error.

    Server 1 (domain allready parked):

    Code:
    [[email protected] ~]# dig cs-host.pl
    
    ; <<>> DiG 9.3.4-P1 <<>> cs-host.pl
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52555
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;cs-host.pl.                    IN      A
    
    ;; ANSWER SECTION:
    cs-host.pl.             14400   IN      A       82.177.133.20
    
    ;; AUTHORITY SECTION:
    cs-host.pl.             86400   IN      NS      ns2.silverhost.pl.
    cs-host.pl.             86400   IN      NS      ns3.silverhost.pl.
    cs-host.pl.             86400   IN      NS      ns1.silverhost.pl.
    
    ;; ADDITIONAL SECTION:
    ns1.silverhost.pl.      14400   IN      A       87.204.246.246
    ns2.silverhost.pl.      14400   IN      A       87.204.246.245
    ns3.silverhost.pl.      14400   IN      A       87.204.246.246
    
    ;; Query time: 0 msec
    ;; SERVER: 87.204.246.246#53(87.204.246.246)
    ;; WHEN: Thu Sep 23 18:26:33 2010
    ;; MSG SIZE  rcvd: 157
    
    I want to park this domain on this server:

    Code:
    ns1:~# dig cs-host.pl
    
    ; <<>> DiG 9.6-ESV-R1 <<>> cs-host.pl
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3898
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available
    
    ;; QUESTION SECTION:
    ;cs-host.pl.                    IN      A
    
    ;; AUTHORITY SECTION:
    cs-host.pl.             86400   IN      SOA     ns1.cs-host.pl. admin.cs-host.pl. 2010092310 28800 7200 604800 86400
    
    ;; Query time: 1 msec
    ;; SERVER: 82.177.133.20#53(82.177.133.20)
    ;; WHEN: Thu Sep 23 18:39:13 2010
    ;; MSG SIZE  rcvd: 74
    
    DNS zones are created by admin user in ispconfig.

    Sorry for ma english :) and thanks for any help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Use the dns wizard to create the zones in ispconfig to ensure thaty our zone is correct and contains all nescessary records.
    2) To query the mydns server, use the command:

    dig @localhost cs-host.pl
     
  3. MethOd

    MethOd New Member

    Code:
    ns1:~# dig @localhost cs-host.pl
    
    ; <<>> DiG 9.6-ESV-R1 <<>> @localhost cs-host.pl
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31310
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    ;; WARNING: recursion requested but not available
    
    ;; QUESTION SECTION:
    ;cs-host.pl.                    IN      A
    
    ;; ANSWER SECTION:
    cs-host.pl.             86400   IN      A       82.177.133.20
    
    ;; AUTHORITY SECTION:
    cs-host.pl.             86400   IN      NS      ns1.cs-host.pl.
    cs-host.pl.             86400   IN      NS      ns2.cs-host.pl.
    
    ;; ADDITIONAL SECTION:
    ns1.cs-host.pl.         86400   IN      A       82.177.133.20
    ns2.cs-host.pl.         86400   IN      A       82.177.133.20
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Sep 23 21:45:56 2010
    ;; MSG SIZE  rcvd: 112
    
    This is effect of this command.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats good, it shows that the domain cs-host.pl is configured correctly on your server. Now you have to change the nameserver at the domain registry so that your server is the authoritive server for the domain.
     
  5. MethOd

    MethOd New Member

    And this is big problem, because when i change nameserver's in my registrar panel, i have an error. Can't change delegation. Where can be problem ??
     
  6. lucani

    lucani Member HowtoForge Supporter

    Code:
    ns1.cs-host.pl.         86400   IN      A       82.177.133.20
    ns2.cs-host.pl.         86400   IN      A       82.177.133.20
    
    Isn't it problem? Domain need to have 2 different nameservers. Here is 2 but with same IP.

    Here is useful link for you: http://www.intodns.com/cs-host.pl

    Why do you want use your own nameservers?
     
    Last edited: Sep 24, 2010
  7. JeGr

    JeGr Member

    I'd always use my DNS Server as primary (and perhaps a provider one as sec or third), as the entries are from me and therefore normally the most current ones.

    But you are right to point out, that both names (ns1/2) point to the same server. Most registrars require two different IPs (in two different subnets). That could very well be the problem of the TS.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Last edited: Sep 24, 2010
  9. JeGr

    JeGr Member

    I suppose he has those, falko, as his dig shows the IPs for the two entries in the additional section. So they seem to resolve properly. But as they both point to the same IP, that could be the problem.
     
  10. MethOd

    MethOd New Member

    I try to change ns2 for other ip, i have this same error. WTF is the problem ???
     
  11. lucani

    lucani Member HowtoForge Supporter

    ns2 should be authoritative dns server for your domain, it means that you must have second dns server with zone for your domain. If you haven't got second dns server just use both domain registrar dns servers
     
    Last edited: Sep 25, 2010

Share This Page