I can ping with IP address only, but not with domain name

RegisterLogin
I can ping with IP address only, but not with domain name
Post Description: I can ping with IP address only, but not with domain name
Tags: i, can, ping, with, ip, address, only,, but, not, with, domain, name
This Post Was Posted On Dec 27, 2011 By edwin #27

If you can ping with only the ip address but not with a domain name like yahoo.com, then your nameservers are not setup properly

i will show you how to fix this:

LINUX:

edit the file /etc/resolv.conf. if you are the command line type: vi /etc/resolv.php or if you are a beginner like me, type: nano /etc/resolv.conf
this will open the resolv.conf file and enter your dns server from your ISP:

search yourdomain.com
nameserver 202.54.1.10
nameserver 202.54.1.1

Where,

  • search domain.com: The search list is normally determined from the local domain name; by default, it contains only the local domain name. So when you type nslookup www, it will be matched to www.yourdomain.com
  • nameserver Name-server-IP-address: Point out to your your own nameserver or to ISP’s name server. Up to 3 name servers may be listed.

 

WINDOWS:

If you have window, I will be using windows XP, ( also works for windows 2000 )

Find out DNS server IP under Windows XP/NT
Click on Start button > Run > and Type command cmd > Press enter key
At DOS prompt type the command:

C:\>ipconfig /all

It will display DNS server IP address, and other information related to Windows networking:
  • You can Click on Start button > Settings > Network connections
  • Double click on Local Area Connection
  • Click on Properties button
  • Select Internet Protocol (TCP/IP)
  • Click on Properties button and Look for Preferred DNS Server:
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
keys
#4379 1
kde = kerberos = ms ad

microsoft uses kerberos in their active directory
Aug 25, 2010 Reply Report abuse
gene
#4329 2
there is nothing i can do about it
Aug 11, 2010 Reply Report abuse
hear
#4295 3
i dont know what else to tell you
Aug 04, 2010 Reply Report abuse
jjman
#195 4
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#196 5
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#197 6
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#198 7
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#199 8
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#200 9
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#201 10
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
jjman
#202 11
if you are using windows, its better to just leave it as "Obtain An IP Automatically" using DHCP. trust me, its better, you dont have to deal with al this
Aug 18, 2009 Reply Report abuse
yolindo
#128 12
ihave a lan ipaddress is pinging. but internal domains not able to accessable
Aug 03, 2009 Reply Report abuse
poolui
#122 13
i can can ping by ip address but not domain name
Jul 31, 2009 Reply Report abuse
nanans
#106 14
how can you have php ping domain name and get server ip
Jul 26, 2009 Reply Report abuse
juice
#89 15
do you have any suggestions on how to fix this error if i get: can ping hostname on domain controller but not on workstation
Jul 19, 2009 Reply Report abuse
View More Comments
Leave Your Comments...
©2012 Redoso - Wed May 02, 2012 10:33 pm
Powered by: Webune Forums V3