Mobile app version of vmapp.org
Login or Join
Sent6035632

: DNS (A record) entry not working, ping gives "unknown host" I bought a domain and added an A record. The following shows under the "Current Running Records" section. Type - A Parameter - fash.lk

@Sent6035632

Posted in: #Dns #Domains

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

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 :)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme