我是伺服器管理的新手。我的 DNS 檔案看起來像這樣,WWW 解析。 http://planandshop.co.uk沒有解決。我剛剛在最後一個條目中添加了..等待傳播,但有人可以幫忙嗎?
;
; Database file planandshop.co.uk..dns for planandshop.co.uk. zone
; Zone version: 1
planandshop.co.uk. IN SOA ns2.infotipp.hu. admin.infotipp.hu. (
2018021115 ;serial
86400 ;refresh
7200 ;retry
3600000 ;expire
3600 ) ;ttl
;
; Zone NS Records
;
www.planandshop.co.uk. IN A 185.40.20.167
mail.planandshop.co.uk. IN MX 1 mail.planandshop.co.uk.
@ IN MX 0 mail.planandshop.co.uk.
ftp.planandshop.co.uk. IN A 185.40.20.167
mail.planandshop.co.uk. IN A 185.40.20.167
@ IN A 185.40.20.167
答案1
你的...是$ORIGIN
? As@
指的是起源,$ORIGIN planandshop.co.uk.
如果你想使用,你應該有@
。請注意,任何其他記錄都與原點無關!
因此,您可以將所有記錄設為絕對記錄:
www.planandshop.co.uk. IN A 185.40.20.167
mail.planandshop.co.uk. IN MX 1 mail.planandshop.co.uk.
planandshop.co.uk. IN MX 0 mail.planandshop.co.uk.
ftp.planandshop.co.uk. IN A 185.40.20.167
mail.planandshop.co.uk. IN A 185.40.20.167
planandshop.co.uk. IN A 185.40.20.167
或使用這樣的相關記錄:
$ORIGIN planandshop.co.uk.
www IN A 185.40.20.167
mail IN MX 1 mail.planandshop.co.uk.
@ IN MX 0 mail.planandshop.co.uk.
ftp IN A 185.40.20.167
mail IN A 185.40.20.167
@ IN A 185.40.20.167
或以上任一組合,只要設定第$ORIGIN
一個即可。