Solved Hostname resolving to wrong ip address?


Griff2Bad

Well-known member
Local time
5:24 PM
Posts
24
Location
Australia
OS
Windows 11
Hi everyone, I have a problem where it seems like im getting two ipaddress for different... hostnames? Im not that technical. 192.168.0.193 should be dave_amd, but when i ping dave_amd it tries to resolve 192.168.0.170? Is there a way to fix this? The dave_amd machine only has 1 nic and wifi is disabled.

C:\Users\dlgri>ping 192.168.0.193

Pinging 192.168.0.193 with 32 bytes of data:
Reply from 192.168.0.193: bytes=32 time<1ms TTL=128
Reply from 192.168.0.193: bytes=32 time<1ms TTL=128
Reply from 192.168.0.193: bytes=32 time<1ms TTL=128
Reply from 192.168.0.193: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.0.193:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\dlgri>ping dave_amd

Pinging dave_amd.modem [192.168.0.170] with 32 bytes of data:
Reply from 192.168.0.134: Destination host unreachable.
Reply from 192.168.0.134: Destination host unreachable.
Reply from 192.168.0.134: Destination host unreachable.
Reply from 192.168.0.134: Destination host unreachable.

Ping statistics for 192.168.0.170:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i5 13600K 14 Core LGA 1700 3.5GHz Unlocked
    Motherboard
    Gigabyte Z790 AORUS ELITE AX LGA 1700 ATX Motherboard
    Memory
    G.Skill Trident Z5 RGB 32GB (2x 16GB) DDR5 5600MHz CL36 Desktop Memory - Black
    Graphics Card(s)
    Sapphire PURE Radeon RX 7800 XT 16GB GDDR6 Graphics Card
    Sound Card
    Onboard
    Monitor(s) Displays
    5 wish SNS SHARE 27GP850-B COPY MODEL NAME 27'' UltraGear QHD Nano IPS 1ms 165Hz HDR Monitor with G-SYNC® Compatibility
    Screen Resolution
    1440P
    Hard Drives
    1 NVMe 4.0 Samsung Pro 990
    1 NVMe 3.0 Uncertain of brand
    1 NVMe 3.0 1tb Samsung Pro 980
    PSU
    Seasonic SSR-850fm-focus-80-plus-gold-850w-psu-gm-850-oneseasonic?
    Case
    Lian-Li O11 Dynamic EVO Tempered Glass RGB E-ATX Mid-Tower Case - Pure White
    Cooling
    NZXT Kraken X73 360mm RGB AIO Liquid CPU Cooler - White
    Keyboard
    glorious GMMK2 Fullsize 96%
    Mouse
    glorious Model -D Wireless
    Internet Speed
    250Mbps/20Mbps HFC
    Browser
    Chrome
    Antivirus
    Windows Defender
Have you tried to flush the DNS?
 

My Computer

System One

  • OS
    WIN 11 Pro 24H2 - 26100.3323
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    50MBs
    Browser
    Chrome
    Antivirus
    OEM

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i5 13600K 14 Core LGA 1700 3.5GHz Unlocked
    Motherboard
    Gigabyte Z790 AORUS ELITE AX LGA 1700 ATX Motherboard
    Memory
    G.Skill Trident Z5 RGB 32GB (2x 16GB) DDR5 5600MHz CL36 Desktop Memory - Black
    Graphics Card(s)
    Sapphire PURE Radeon RX 7800 XT 16GB GDDR6 Graphics Card
    Sound Card
    Onboard
    Monitor(s) Displays
    5 wish SNS SHARE 27GP850-B COPY MODEL NAME 27'' UltraGear QHD Nano IPS 1ms 165Hz HDR Monitor with G-SYNC® Compatibility
    Screen Resolution
    1440P
    Hard Drives
    1 NVMe 4.0 Samsung Pro 990
    1 NVMe 3.0 Uncertain of brand
    1 NVMe 3.0 1tb Samsung Pro 980
    PSU
    Seasonic SSR-850fm-focus-80-plus-gold-850w-psu-gm-850-oneseasonic?
    Case
    Lian-Li O11 Dynamic EVO Tempered Glass RGB E-ATX Mid-Tower Case - Pure White
    Cooling
    NZXT Kraken X73 360mm RGB AIO Liquid CPU Cooler - White
    Keyboard
    glorious GMMK2 Fullsize 96%
    Mouse
    glorious Model -D Wireless
    Internet Speed
    250Mbps/20Mbps HFC
    Browser
    Chrome
    Antivirus
    Windows Defender
Any related entries in your hosts file?
 

My Computer

System One

  • OS
    WIN 11 Pro 24H2 - 26100.3323
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    50MBs
    Browser
    Chrome
    Antivirus
    OEM
Any related entries in your hosts file?
hey mate sorry i had to go to bed early, have an early start at work today.

I'll check the hosts file but Im not exactly sure what it is, I'll have to google that.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i5 13600K 14 Core LGA 1700 3.5GHz Unlocked
    Motherboard
    Gigabyte Z790 AORUS ELITE AX LGA 1700 ATX Motherboard
    Memory
    G.Skill Trident Z5 RGB 32GB (2x 16GB) DDR5 5600MHz CL36 Desktop Memory - Black
    Graphics Card(s)
    Sapphire PURE Radeon RX 7800 XT 16GB GDDR6 Graphics Card
    Sound Card
    Onboard
    Monitor(s) Displays
    5 wish SNS SHARE 27GP850-B COPY MODEL NAME 27'' UltraGear QHD Nano IPS 1ms 165Hz HDR Monitor with G-SYNC® Compatibility
    Screen Resolution
    1440P
    Hard Drives
    1 NVMe 4.0 Samsung Pro 990
    1 NVMe 3.0 Uncertain of brand
    1 NVMe 3.0 1tb Samsung Pro 980
    PSU
    Seasonic SSR-850fm-focus-80-plus-gold-850w-psu-gm-850-oneseasonic?
    Case
    Lian-Li O11 Dynamic EVO Tempered Glass RGB E-ATX Mid-Tower Case - Pure White
    Cooling
    NZXT Kraken X73 360mm RGB AIO Liquid CPU Cooler - White
    Keyboard
    glorious GMMK2 Fullsize 96%
    Mouse
    glorious Model -D Wireless
    Internet Speed
    250Mbps/20Mbps HFC
    Browser
    Chrome
    Antivirus
    Windows Defender
hey mate sorry i had to go to bed early, have an early start at work today.

I'll check the hosts file but Im not exactly sure what it is, I'll have to google that.
Winver 22H2 22621.1928
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i5 13600K 14 Core LGA 1700 3.5GHz Unlocked
    Motherboard
    Gigabyte Z790 AORUS ELITE AX LGA 1700 ATX Motherboard
    Memory
    G.Skill Trident Z5 RGB 32GB (2x 16GB) DDR5 5600MHz CL36 Desktop Memory - Black
    Graphics Card(s)
    Sapphire PURE Radeon RX 7800 XT 16GB GDDR6 Graphics Card
    Sound Card
    Onboard
    Monitor(s) Displays
    5 wish SNS SHARE 27GP850-B COPY MODEL NAME 27'' UltraGear QHD Nano IPS 1ms 165Hz HDR Monitor with G-SYNC® Compatibility
    Screen Resolution
    1440P
    Hard Drives
    1 NVMe 4.0 Samsung Pro 990
    1 NVMe 3.0 Uncertain of brand
    1 NVMe 3.0 1tb Samsung Pro 980
    PSU
    Seasonic SSR-850fm-focus-80-plus-gold-850w-psu-gm-850-oneseasonic?
    Case
    Lian-Li O11 Dynamic EVO Tempered Glass RGB E-ATX Mid-Tower Case - Pure White
    Cooling
    NZXT Kraken X73 360mm RGB AIO Liquid CPU Cooler - White
    Keyboard
    glorious GMMK2 Fullsize 96%
    Mouse
    glorious Model -D Wireless
    Internet Speed
    250Mbps/20Mbps HFC
    Browser
    Chrome
    Antivirus
    Windows Defender
I didnt so much as solve it as just formatted windows and put it back on
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i5 13600K 14 Core LGA 1700 3.5GHz Unlocked
    Motherboard
    Gigabyte Z790 AORUS ELITE AX LGA 1700 ATX Motherboard
    Memory
    G.Skill Trident Z5 RGB 32GB (2x 16GB) DDR5 5600MHz CL36 Desktop Memory - Black
    Graphics Card(s)
    Sapphire PURE Radeon RX 7800 XT 16GB GDDR6 Graphics Card
    Sound Card
    Onboard
    Monitor(s) Displays
    5 wish SNS SHARE 27GP850-B COPY MODEL NAME 27'' UltraGear QHD Nano IPS 1ms 165Hz HDR Monitor with G-SYNC® Compatibility
    Screen Resolution
    1440P
    Hard Drives
    1 NVMe 4.0 Samsung Pro 990
    1 NVMe 3.0 Uncertain of brand
    1 NVMe 3.0 1tb Samsung Pro 980
    PSU
    Seasonic SSR-850fm-focus-80-plus-gold-850w-psu-gm-850-oneseasonic?
    Case
    Lian-Li O11 Dynamic EVO Tempered Glass RGB E-ATX Mid-Tower Case - Pure White
    Cooling
    NZXT Kraken X73 360mm RGB AIO Liquid CPU Cooler - White
    Keyboard
    glorious GMMK2 Fullsize 96%
    Mouse
    glorious Model -D Wireless
    Internet Speed
    250Mbps/20Mbps HFC
    Browser
    Chrome
    Antivirus
    Windows Defender
hosts will override and not query the DNS. Unless you are running your own DNS, the resolving of the names to IP is coming from somewhere.
Do you have a resolv.conf in %WINDIR%\system32\drivers\etc directory - If so, what is the contents of that file?
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    64GB using 2x32GB CL16 Mushkin redLine modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
Back
Top Bottom