많은 것을 읽었지만 솔루션을 찾을 수 없습니다.Golang DNS 해상도가 작동하지 않습니다.
Google Cloud에서 VPS를 열고 Ubuntu로 인스턴스를 시작했으며 Go 수신 포트 80에서 작성한 웹 서버를 사용했습니다. 또한 www.crosslogic.com.ar에 도메인을 등록했습니다. 위임 된 도메인은 www.crosslogic.com.ar입니다. 같은 :
n1.crosslogic.com.ar 130.211.196.55
n2.crosslogic.com.ar 130.211.196.55
은 (두 필요하지만되었다 나는 단지 하나의 IP를했다)
나는 모든 것을 다 잘 작동 브라우저에서 IP를 입력하지만 언제 서버 사용 www.crosslogic에 도달 할 때 .com.ar 또는 crosslogic.com.ar 또는 n1.crosslogic.com.ar이 있습니다. ERR_NAME_RESOLUTION_FAILED가 있습니다.
나는이 테스트 intodns.com/crosslogic.com.ar는 folowing 오류가 확인 않았다
package main
import (
"net/http"
)
func main() {
// Genero un html con los detalles del calculo.
http.HandleFunc("/", indexHandler)
err := http.ListenAndServe(":80", nil)
if err != nil {
fmt.Println(err.Error())
}
}
func indexHandler(w http.ResponseWriter, r *http.Request) {
temp, err := template.ParseFiles("index.html")
if err != nil {
panic(err)
}
err = temp.Execute(w, nil)
if err != nil {
panic(err)
}
}
나는 리눅스의 모든 구성 실종 :
-Missing nameservers reported by your nameservers. You should already know that your NS records at your nameservers are missing, so here it is again:
ns2.crosslogic.com.ar.
ns1.crosslogic.com.ar.
-No valid SOA record came back!
-ERROR: I could not get any A records for www.crosslogic.com.ar!
(I only do a cache request, if you recently added a WWW A record, it might not show up here.)
이 코드가 있습니까? 그 NS 레코드, 레코드 및 SOA는 내 서버에서 구성해야하는 것입니까? Shoudln't http/net이 물건을 취급해야합니까? 왜 요청하면 내 항구 80에 도착하지 않습니까?
당신이 "당신의 DNS를"말할 때 당신은 내가 내 서버에 BIND 뭔가를 설치해야하거나 도메인 등록에 관련된 문제가 의미? – Marcos