mydns問題
系統 ubuntu8.04
域名伺服器:ns1.edgora.com
要解析域名:xueku.org.cn
vim /etc/mydns.conf
db-host = localhost # SQL server hostname
db-user = ludy # SQL server username
db-password = 12345 # SQL server password
database = mydns # MyDNS database name
# GENERAL OPTIONS
user = nobody # Run with the permissions of this user
group = nogroup # Run with the permissions of this group
listen = * # Listen on these addresses ('*' for all)
no-listen = # Do not listen on these addresses
# CACHE OPTIONS
zone-cache-size = 2048 # Maximum number of elements stored in the zone cache
zone-cache-expire = 60 # Number of seconds after which cached zones expires
reply-cache-size = 2048 # Maximum number of elements stored in the reply cache
reply-cache-expire = 30 # Number of seconds after which cached replies expire
# ESOTERICA
log = LOG_DAEMON # Facility to use for program output (LOG_*/stdout/stderr)
pidfile = /var/run/mydns.pid # Path to PID file
timeout = 120 # Number of seconds after which queries time out
multicpu = 1 # Number of CPUs installed on your system
recursive = 207.218.192.38 # Location of recursive resolver
allow-axfr = yes # Should AXFR be enabled?
allow-tcp = yes # Should TCP be enabled?
allow-update = no # Should DNS UPDATE be enabled?
ignore-minimum = no # Ignore minimum TTL for zone?
soa-table = soa # Name of table containing SOA records
rr-table = rr # Name of table containing RR data
soa-where = # Extra WHERE clause for SOA queries
rr-where = # Extra WHERE clause for RR queries
資料庫的東西就用圖片吧。
萬網 DNS修改
資料庫SOA
資料庫RR
現在問題貌似沒與與外界同步,可是我已經等待了好幾天。
我把我本地機器設置為 mydns伺服器的IP就可以解析xueku.org.cn
設置為我默認DNS 就不可以解析。
我現在懷疑是不是 萬網的問題。。。
請各位高手給我看下問題謝謝了。
[ 本帖最後由 yangzludy 於 2008-7-14 15:25 編輯 ]
《解決方案》
如果是bind還能幫點小忙,這個不懂!!
《解決方案》
回復 #2 javasuncom 的帖子
bind9做好,與mydns結果一樣``
設置為 mydns 機器的IP 就可以解析xueku.org.cn
默認的DNS 就不能解析 xueku.org.cn
[ 本帖最後由 yangzludy 於 2008-7-14 15:28 編輯 ]
《解決方案》
cnnic.cn查到dns伺服器是cn的 ns.edgora.cn
不是ns1.edgora.com。
《解決方案》
C:\Documents and Settings\Administrator>dig xueku.org.cn
; <<>> DiG 9.3.5rc2 <<>> xueku.org.cn
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 532
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;xueku.org.cn. IN A
;; ANSWER SECTION:
xueku.org.cn. 36000 IN A 75.125.197.200
;; AUTHORITY SECTION:
xueku.org.cn. 21600 IN NS ns.edgora.cn.
xueku.org.cn. 21600 IN NS ns1.edgora.cn.
;; ADDITIONAL SECTION:
ns1.edgora.cn. 3565 IN A 75.125.197.200
;; Query time: 484 msec
;; SERVER: 202.99.166.4#53(202.99.166.4)
;; WHEN: Wed Jul 16 09:49:35 2008
;; MSG SIZE rcvd: 104
沒問題啊
《解決方案》
回復 #5 llzqq 的帖子
昨天晚上搞定了`謝謝。
《解決方案》
喜歡用CentOS5 + BIND9