Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2007, 05:20 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 8

Rep: Reputation: 0
Unable to resolve hostname / IP assigned by DHCP server.


My machine is connected to a LAN where IP is assigned by a DHCP server.
The IP of my machine has changed, so when i try to ping <hostname> i get the following error:
"Ping request could not find host . Please check the name and try again."

/etc/hosts entry: localhost.localdomain localhost mybox

/etc/sysconfig/network-scripts/ifcfg-eth0 :

cat /proc/sys/kernel/hostname :

How do i update the local DNS server with the new host name and DHCP IP?

Thanks in advance.
Old 10-15-2007, 07:00 AM   #2
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
Why don't you just reserve the IP in dhcp to your MAC. You will keep the same IP


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to resolve address with DHCP enabled DaJohnson Slackware 4 09-14-2007 01:08 PM
eth0 ip assigned by dhcp , how would i know the ip address of the dhcp server where.. kublador Linux - Networking 14 05-16-2006 06:33 AM
Unable to resolve hostname adirock2 Linux - Networking 14 07-06-2005 02:08 AM
Want Numeric IP of Web Server to resolve to hostname cyrusc Linux - Newbie 2 03-19-2005 02:54 PM
Unable to resolve local hostname rudivk Linux - Networking 6 12-10-2004 07:37 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration