PDA

View Full Version : Mydns problem


jinkt
23rd February 2009, 11:15
hello

I have installed ISPConfig 3.0.0.9-rc2, system is debian lenny
ispconfig is installed in OpenVZ container.
Everything is ok, except mydns, could be problem in OpenVZ configuration ?
Memory and other parameters for OpenVZ container aren't limited.

ispconfig3:/#mydnsexport

$TTL 86400
; Zone: test.sk. (#2)
; Created by "mydnsexport"
; Sun Feb 22 19:23:40 2009
$ORIGIN test.sk.

@ IN SOA ispconfig3.jnx.lan. webmaster.test.sk. (
2009022201 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Minimum

ispconfig3:/# nslookup test.sk localhost
Server: localhost
Address: 127.0.0.1#53

** server can't find test.sk: NXDOMAIN

netstat -tap

tcp 0 0 ispconfig3.jnx.l:domain *:* LISTEN 525/mydns
tcp 0 0 localhost.locald:domain *:* LISTEN 525/mydns

till
23rd February 2009, 11:17
What is the problem? The output states that mydns is running fine, you just did not create any records yet. I recommed that you use the wizard in sipconfig to create the records so you see which records are needed and how they look.

jinkt
23rd February 2009, 11:27
sorry for spamming, now i see my mistake
i didn't creat dns zone :)

thanks




Great ,
when i add A record for www, dns return correct answer

www 86400 IN A 192.168.1.27

ispconfig3:~# nslookup www.test.sk localhost
Server: localhost
Address: 127.0.0.1#53

Name: www.test.sk
Address: 192.168.1.27


but what should record should i create for this

ispconfig3:~# nslookup test.sk localhost
Server: localhost
Address: 127.0.0.1#53

** server can't find test.sk: NXDOMAIN



btw. i there any way how to create set of RECORDS when creating SOA dns zone ?

till
23rd February 2009, 11:33
Use the wizard as I recommended above to get an example for a complete and correct record.

quannv
11th May 2009, 06:25
$TTL 86400
; Zone: mirex.vn. (#4)
; Created by "mydnsexport"
; Mon May 11 10:24:19 2009
$ORIGIN mirex.vn.

@ IN SOA ns1.mirex.vn. quannv.vietinfotech.net. (
2009051105 ; Serial
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Minimum

mail 86400 IN CNAME ghs.google.com.
mirex.vn. 86400 IN A 210.245.85.211
mirex.vn. 86400 IN MX 10 ASPMX.L.GOOGLE.COM.
mirex.vn. 86400 IN NS ns1.mirex.vn.
mirex.vn. 86400 IN NS ns2.mirex.vn.
www 86400 IN A 210.245.85.211

falko
12th May 2009, 19:13
What's your question?