Help answer threads with 0 replies.
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 05-24-2008, 03:52 PM   #1
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
Unable to connect to machine via hostname, DNSs seems ok

Hi people,

I spent a lot of time, trying to resolve what could be a problem I have but without success. So I will try to describe situation I have and I hope someone will see what I cannot see.
So, I have an linux machine in my network. I installed debian on it and it is fine. During installation I was offered to configure net. with dhcp and settings for domain. I got ip address and I can log into machine using ip address. The problem is, the address is dhcp dependent so change daily-I am not responsible for dhcp/dns server. In my /etc/resolv.conf I have name servers as on some win machines, and for them is possible to log to them using either ip address or hostname.
When I do as root on linux machine #host host_ip dns_ip
I got
Using domain server:
Name: host_ip
Address: dns_ip#53

Host not found: 3(NXDOMAIN)

#hostname -d
I got domain name...
#hostname -s
I got hostname

I read many forums, mailing lists, docs, but still cannot to resolv this issues and log into machine using hostname.
Any suggestion is welcome

Thank you in advance.

Last edited by sarajevo; 05-24-2008 at 04:00 PM.
Old 05-24-2008, 06:08 PM   #2
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 32
it seems the dns records for your ip are not present/totally correct.
maybe your dhcp server does not auto update the dns records.

time to call the admin.
Old 05-25-2008, 01:46 AM   #3
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Original Poster
Rep: Reputation: 31
I am suspecting that dns refreshes are missing.

Thank you for answer.



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 use wget and unable to ping machine from external source grunshaw Linux - Networking 3 10-24-2006 08:46 AM
Unable to connect SUSE 10 machine to windows network Harry Hamlin Linux - Networking 2 12-17-2005 12:33 AM
How do i use a hostname given by No-IP as my machine name? z-vet Linux - Networking 3 10-22-2004 08:06 PM
Unable to connect to server using hostname with telnet and browser Schlumpf42 Linux - Networking 6 10-14-2004 11:03 AM
Linux unable to connect to another Linux machine via Samba (SMB) Please help shassouneh Linux - Networking 4 03-11-2002 02:26 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration