ERROR: One or more of your nameservers did not respond... Need help

I am a PHP programmer but because of certain requirement, setting up centos version 6.7. Everything is setup but I am getting below error when I check the domain on site intodns.

ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:

Please help.

Hi Ajay

Check your dns server entry in /etc/resolve.conf

#cat /etc/resolve.conf
if you didn't found your dns server ip then add it
#vim /etc/resolve.conf

and also add dns records for your domain

Thanks Raghuu for the quick reply.
Here is result for the cat command

nameserver 192.168.10.155
nameserver 8.8.8.8
nameserver 8.8.4.4

Does it looks correct?

Why are you using public dns ip addresses you didn’t configured dns server and what is your domain name you should configure DNS entries for your domain to access it.

Raghu,

Here are results of few commands so that you get complete idea

Public IP: 198.55.51.164
Private (local) IP: 192.168.10.155
Domain: tg-dev.com
Nameservers: ns1.tg-dev.com,
ns2.tg-dev.com

  1. Nslookup result for nameserver ns1.tg-dev.com

[root@ded ~]# nslookup ns1.tg-dev.com
Server: 192.168.10.155
Address: 192.168.10.155#53

Name: ns1.tg-dev.com
Address: 198.55.51.164

  1. Nslookup result for domain tg-dev.com

[root@ded ~]# nslookup tg-dev.com
Server: 192.168.10.155
Address: 192.168.10.155#53

Name: tg-dev.com
Address: 198.55.51.164

  1. Dig result for namserver ns1.tg-dev.com
    [root@ded ~]# dig ns1.tg-dev.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> ns1.tg-dev.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12530
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;ns1.tg-dev.com. IN A
;; ANSWER SECTION:
ns1.tg-dev.com. 14400 IN A 198.55.51.164
;; AUTHORITY SECTION:
ns1.tg-dev.com. 86400 IN NS ns1.tg-dev.com.
ns1.tg-dev.com. 86400 IN NS ns2.tg-dev.com.

;; ADDITIONAL SECTION:
ns2.tg-dev.com. 14400 IN A 198.55.51.164

;; Query time: 0 msec
;; SERVER: 192.168.10.155#53(192.168.10.155)
;; WHEN: Tue Nov 24 06:11:00 2015
;; MSG SIZE rcvd: 96

  1. Dig result for domain tg-dev.com

[root@ded ~]# dig tg-dev.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> tg-dev.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25036
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;tg-dev.com. IN A

;; ANSWER SECTION:
tg-dev.com. 14400 IN A 198.55.51.164

;; AUTHORITY SECTION:
tg-dev.com. 86400 IN NS ns1.tg-dev.com.
tg-dev.com. 86400 IN NS ns2.tg-dev.com.

;; ADDITIONAL SECTION:
ns1.tg-dev.com. 14400 IN A 198.55.51.164
ns2.tg-dev.com. 14400 IN A 198.55.51.164

;; Query time: 0 msec
;; SERVER: 192.168.10.155#53(192.168.10.155)
;; WHEN: Tue Nov 24 06:13:47 2015
;; MSG SIZE rcvd: 112

  1. Host command result
    [root@ded ~]# host tg-dev.com
    tg-dev.com has address 198.55.51.164
    tg-dev.com mail is handled by 90 ticketgateway.com.bak-mx.na0101.smtpbak.com.
    tg-dev.com mail is handled by 10 ticketgateway.com.pri-mx.na0101.smtproutes.com.