myDNS Template Bug

Discussion in 'Developers' Forum' started by astewart, Mar 13, 2009.

  1. astewart

    astewart New Member

    I tried manually creating a Zone, then added the proper records but it doesn't seem to work properly. When you create a manual Zone, there is only one 'NS' field so you cannot add a second NS to that Zone.

    So i went about and noticed that when you create a DNS Template, you have 2 fields for the NS. Once I add the Template, then fill it out through the 'Wizard', it will not add or save the new DNS Zone. I click on 'Create DNS Record' but it just sits there and doesn't even load.

    Is there away I can manually add a secondary NS when creating a manual Zone? Or any other way around this?

    (Running the latest SVN for ISPCONFIG 3).

    Any ideas or anyone else experiencing this issue?
    :confused:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up the ns field with the ns records of the domain. The nameservers of a domain have to be added as ns records. Create a domain with the wizard and take a look at the records that were added for this domain to see a full example.

    The DNS wizrad has no known bugs, I just tested it. If you created your own template and this does not work then there is most likely a typo in your template syntax. try to use the default template delivered with ispconfig.
     
  3. astewart

    astewart New Member

    I have manually set up a Zone and added the proper records as follows:

    [​IMG]

    [​IMG]


    It doesn't seem to be working properly though.

    Here is what it looks like when I 'dig' the domain:

    Code:
    ; <<>> DiG 9.4.2-P2 <<>> ps3edition.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43165
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;ps3edition.com.                        IN      A
    
    ;; AUTHORITY SECTION:
    ps3edition.com.         10800   IN      SOA     ns1.iwebsource.net. admin.iwebsource.net. 2009031320 28800 7200 604800 86400
    
    ;; Query time: 48 msec
    ;; SERVER: 192.168.2.1#53(192.168.2.1)
    ;; WHEN: Fri Mar 13 15:22:15 2009
    ;; MSG SIZE  rcvd: 92

    Here is my NSLOOKUP for the domain:


    What am I suppose to have in my resolv.conf?
    Should I be using my Servers internal IP for the A Record?
    Any ideas what might be going on?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed to add the dot at the end of the records.
     
  5. edge

    edge Active Member Moderator

    Till. I think we should get somekind of validation script for this.
    If no dot is added, add the dot automaticaly.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    We can not add a dot automatically as records without dot are valid as well.

    For example, the following A records give the same result:

    mail

    and

    mail.domain.com.
     
  7. astewart

    astewart New Member

    Thanks for the help guys.
    I apologize for my ignorance with setting up the DNS. I have a very knowledge of everything else but the DNS, this is the first time I am actually trying to get it working.

    I have added the dots '.' to the end of each record but still no difference.
    Question, after making the changes in ISPCONFIG, I shouldn't have to wait 24 - 48 hours right?

    Here is what I currently have:
    [​IMG]

    The NSLOOKUP is still giving me this error for ps3edition.com:
    Code:
    user@server:~# nslookup ps3edition.com
    Server:		192.168.2.1
    Address:	192.168.2.1#53
    
    Non-authoritative answer:
    *** Can't find ps3edition.com: No answer
    Funny this is that when I do an NSLOOKUP for www.ps3edition.com, it appears to be correct:
    Code:
    user@serverr:~# nslookup www.ps3edition.com
    Server:		192.168.2.1
    Address:	192.168.2.1#53
    
    Non-authoritative answer:
    Name:	www.ps3edition.com
    Address: 24.222.43.170
    Oh, to add, I get an Answer when I dig www.ps3edition.com but not when I dig pd3edition.com.


    Any ideas why?

    Can you access www.ps3edition.com?
    (I'm within the network so I cannot tell at the moment)

    :confused:
     
    Last edited: Mar 13, 2009
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use nslookup like you did to query the dns server you might have to wait 24 hours. If you want to test your server right now you will have to run:

    Code:
    dig @localhost www.ps3edition.com
     
  9. Antennipasi

    Antennipasi Member

    i ques that confuse here is bit more lowlevel what it seems at first.
    from firs post i see Ispconfig's hostname is ubuntuServer.isometric.com, but all references to nameserver points to *.iwebsource.net.

    could it be that *.iwebsource.net-servers are your service providers nameservers?
    if so, you are trying to control nameservers that are not yours. obviously it is not going to work.

    if you have access to somekind of control panel in iwebsource.net or in your domain registrant, you can handle dns from there and forget Ispconfig's dns-part.

    or, start using ubuntuServer.isometric.com as NS, and instal another nameserver to somewhere. if you go this way, change domains nameservers from registrant to your ones.
     
  10. astewart

    astewart New Member

    ubuntuServer.isometric.com is the fully qualified Server name.
    iWebsource would be the main Domain.

    The DNS is now working properly, I just had to give it some time I guess to propagate.

    Thanks for all your help guys.
     

Share This Page