IP/DNS config

Discussion in 'Installation/Configuration' started by mishko, Sep 20, 2006.

  1. mishko

    mishko New Member

    I need help with my ispconfig dns setting. I`m behind dsl router witch have external IP 213.160.171.66, and server name is server1 with IP 10.0.0.10 on lan with other PC`s. My domain is jedna.sk.

    My ispconfig looks like this:
    management>settings>server>
    Hostname: www
    Domain: server1.jedna.sk
    IP Address: 10.0.0.10
    Netmask: 255.0.0.0

    management>settings>DNS>
    Default Ns1: ns1.jedna.sk
    Default Ns2: ns1.twisted4life.com

    DNS manager> has one master and one slave DNS entry

    master> jedna.sk
    domain>
    Server: server1
    Domain (SOA): jedna.sk
    IP Address: 213.160.171.66
    options>
    Nameserver 1: ns1.jedna.sk
    Nameserver 2: ns1.twisted4life.com
    records>
    A Record
    IP-Adresse Hostname
    213.160.171.66 www
    213.160.171.66 mail

    CNAME
    Hostname Target
    ftp www.jedna.sk.

    MX
    Mailserver Hostname
    jedna.sk mail


    slave DNS recrd> ns1.twisted4life.com
    Domain: ns1.twisted4life.com
    DNS-Master IP: 213.160.171.66


    thats all I think can any body tell me whats wrong with this settins please I search almost all threads and can`t find answer.


    oh the ifconfig put this:
    eth0 Link encap:Ethernet HWaddr 00:17:A4:0F:59:5F
    inet addr:10.0.0.10 Bcast:10.255.255.255 Mask:255.0.0.0
    inet6 addr: fe80::217:a4ff:fe0f:595f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:13716 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13684 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:8481483 (8.0 MiB) TX bytes:6562522 (6.2 MiB)
    Interrupt:225

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:952 errors:0 dropped:0 overruns:0 frame:0
    TX packets:952 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:95218 (92.9 KiB) TX bytes:95218 (92.9 KiB)
     
    Last edited: Sep 20, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

  3. mishko

    mishko New Member

    falko

    I can`t use GoDaddy I use http://www.twisted4life.com/ as my secondary DNS server because the domain is registered by me cause I`m registrar. And I`ve only one static IP witch is 213.160.171.66 so I must use some sort of free secondary DNS hosting. With this setting above nothing works no pages shown, no mail, nothing. I tested access the server from LAN and from internet and nothing. only wen I try access it with its IP then all works fine but with the domain name it doesn`t work.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Remove the slave record.

    2) You can not define ns1.jedna.sk as primary dns server for jedna.sk. How shall a nameserver know where ns1.jedna.sk is? Thats the hen / egg problem.

    I recommend to use 1 technical domain for the server as ns1, that is not defined in the local BIND server. Most hosting companys assign a technical domain to your servers, ask your server hosting company for the technical domain name and use this as ns1 setting for jedna.sk.
     
  5. mishko

    mishko New Member

    till

    the nameserver know where ns1.jedna.sk is cause when I was registering domain jedna.sk I enter ns1.jedna.sk and his IP as primary dns server. this is what was told to me by my country main registrar when I asked him what I must do when primary dns server is on the same machine as the registering domain. this should work if I`m not wrong.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Is 213.160.171.66 your server's public IP address?
     
  7. mishko

    mishko New Member

    falko

    IP 213.160.171.66 is public IP for my router. the ruoter is configured to forward servers lan IP with som ports 80,81,22,21
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to forward port 53 to your server too, if you want to use it as DNS server.
     
  9. mishko

    mishko New Member

    till

    of course I forgot port 53 TCP and UDP are also forwarded
     
  10. mishko

    mishko New Member

    I`ve more ports forwarded but I can`t write here every of it.
     
  11. falko

    falko Super Moderator ISPConfig Developer

    I can connect to your DNS server on port 53, so that's fine. What's the problem now? Is it that you cannot connect to ns1.jedna.sk?
     
  12. mishko

    mishko New Member

    Last edited: Sep 27, 2006
  13. falko

    falko Super Moderator ISPConfig Developer

Share This Page