问题原文
原帖链接 · Can't Tell · CC BY-SA 3.0
I bought a domain and added an A record. The following shows under the "Current Running Records" section.
- Type - A
- Parameter - fash.lk
- Value - 104.131.26.48
- TTL - 86400
But when I try to ping fash.lk I get "unknown host fash.lk". I can ping the IP of the server successfully.
Is there any more configuration I have to do to get the domain name to point at my server? If not, what tools are there to diagnose the problem and how can I use them?
已采纳解答
原帖链接 · Putnik · CC BY-SA 3.0
Looks like you don't have the DNS server configured at the domain name registrar. Right now the World doesn't know about your domain, it even doesn't know where to ask about it:
root@dev2 [~]# dig fash.lk ns +short
root@dev2 [~]#
instead you should see something like that:
root@dev2 [~]# dig gov.lk ns +short
ns1.gov.lk.
d.nic.lk.
ns2.gov.lk.
c.nic.lk.
m.nic.lk.
root@dev2 [~]#
Solution: go to the domain name registrar where you bought it, and configure the name servers. Usually you must create at least two NS (or have two NS records).
Alternatively you can use the NSes of the registrar, please contact support there.
And yes, I assume you did registered(=bought) the domain name, not just configured it :)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
