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)
What's the exact problem? Please have a look at this tutorial: http://www.howtoforge.com/ispconfig_dns_godaddy
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.
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.
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.
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
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?
falko when I try it in browser with www.jedna.sk then no page was opened. I can connect to ns1.jedna.sk but host www or ftp or whatever don`t work I try dnsreport tool and I get three errors "lame nameservers", "Missing nameservers 2" and "SOA Record" this is link on my report http://www.dnsreport.com/tools/dnsreport.ch?domain=jedna.sk
The problem is that no A records are existing for your domain jedna.sk, not even the A record for ns1.jedna.sk. Please read these two tutorials to understand how DNS works: http://www.howtoforge.com/ispconfig_dns_godaddy http://www.howtoforge.com/traditional_dns_howto Also have a look here to understand glue records (which you need if ns1.jedna.sk should server records for jedna.sk): http://en.wikipedia.org/wiki/Domain_name_system#Circular_Dependencies_and_Glue_Records