AndyCan Posted October 3, 2012 Posted October 3, 2012 When i ping my machines on my network by hostname it gets replies but resolves it to fe80::4b7:3785:3f57:fee2%18 for example rather than 192.168.1.56 address for example. Is it an ipv6 address and whether or not it is how can i fix this to give me the ip. Assume its a DNS issue somewhere along the line...
Steve21 Posted October 3, 2012 Posted October 3, 2012 (edited) I found it happens quite often when ISPs play with their dns servers replacing your own with theirs etc. If you want to cheat just type "ping hostname -4" and it'll force it to show IPv4 version. Steve e.g. C:\Users\steve>ping steve Pinging steve [fe80::f8c6:39d:****:****: from fe80::f8c6:39d:****:****: wit h 32 bytes of data: Reply from fe80::f8c6:39d:****:****: time<1ms Reply from fe80::f8c6:39d:****:****: time<1ms Reply from fe80::f8c6:39d:****:****: time<1ms Reply from fe80::f8c6:39d:****:****: time<1ms C:\Users\steve>ping steve -4 Pinging steve [192.168.1.106] with 32 bytes of data: Reply from 192.168.1.106: bytes=32 time=8ms TTL=128 Reply from 192.168.1.106: bytes=32 time=3ms TTL=128 Reply from 192.168.1.106: bytes=32 time=4ms TTL=128 Reply from 192.168.1.106: bytes=32 time=2ms TTL=128 Edited October 3, 2012 by Steve21
AndyCan Posted October 3, 2012 Author Posted October 3, 2012 ah figured it out, add '-4' after the ping hostname and returns ipv4 addresses. anyway i can get ti to return ipv4 by default without the -4?
Steve21 Posted October 3, 2012 Posted October 3, 2012 ah figured it out, add '-4' after the ping hostname and returns ipv4 addresses. anyway i can get ti to return ipv4 by default without the -4? It depends if it's set to default to it by whatever you're using as your default dns etc. Generally if this is a once off occurance doing an "ipconfig /flushdns" will get rid of any cached address, but if it's defaulting to it it'll just get the same one again next time you look up an address. Steve
hasan320 Posted August 18, 2016 Posted August 18, 2016 hi problem dns forward lookup zones--->domainname---->record A Hostname-----> ip address ipv4 correct type
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now