cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5777
Views
0
Helpful
3
Replies

cannot resolve a hostname switch

csco11579831
Level 1
Level 1

hello,

could you pls help about resolving a host name of a switch 2960,

i can connect on this switch by telnet 10.10.10.1,but i can't ping/resolve the host name'sw1-12'

Best regard

J h

2 Accepted Solutions

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

JH,

You will need an entry added DNS server to translate the name to ip address or
add the name to your HOSTS file on your PC that you are aceessing from.

 


Hope this helps
Regards
Alex

Regards, Alex. Please rate useful posts.

View solution in original post

Hello

You need an static entry in your dns server or pc hosts file

Just remember if you edit your hosts file  on your pc, Then your pc will always check that file before any dns server
 

C:\Windows\System32\drivers\etc

R/C on the file = hosts  and untick read only

#
#
#

10.10.10.1             sw1-12

save your changes.

then - start/run/cmd
ipconfig /flushdns
ipconfig /registerdns

res

Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

acampbell
VIP Alumni
VIP Alumni

JH,

You will need an entry added DNS server to translate the name to ip address or
add the name to your HOSTS file on your PC that you are aceessing from.

 


Hope this helps
Regards
Alex

Regards, Alex. Please rate useful posts.

Hello

You need an static entry in your dns server or pc hosts file

Just remember if you edit your hosts file  on your pc, Then your pc will always check that file before any dns server
 

C:\Windows\System32\drivers\etc

R/C on the file = hosts  and untick read only

#
#
#

10.10.10.1             sw1-12

save your changes.

then - start/run/cmd
ipconfig /flushdns
ipconfig /registerdns

res

Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi,

It's ok,thanks.

Best regards.

Review Cisco Networking for a $25 gift card