I have question about DNS. I'm using opensuse 12.1 OS.
Also I have one server which is connected to internet via router with DMZ. ( I can connect to server and do whatever I want via external IP address ).
I have installed mydns and fresh install of ispconfig 3. ( done everything like was written in Perfect server guide )
Then I changed ns1 and ns2 at my domain registrator to :
ns1.mydomain.com ip : myexternalip
ns2.mydomain.com ip : myexternalip
Then I made dns records in ispconfig -> dns :
DNS Zone :
Zone ( SOA ) mydomain.com
And records :
A mydomain.com. MyExternalIP 0
A mail MyExternalIP 0
A www MyExternalIP 0
MX mydomain.com. mail.mydomain.com. 10
NS mydomain.com. ns1.mydomain.com. 0
NS mydomain.com. ns2.mydomain.com. 0
Then I tryed to ping mydomain.com, but it is written :
Ping request could not find host mydomain.com. Please check the name and try again.
and here is dig
<<>> DiG 9.8.1-P1 <<>> mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 38417
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.com. IN A
;; Query time: 48 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Fri May 18 10:10:50 2012
;; MSG SIZE rcvd: 32
What should I check or do?