LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux
User Name
Password
VectorLinux This forum is for the discussion of VectorLinux.

Notices


Reply
  Search this Thread
Old 12-02-2003, 01:31 AM   #1
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
VL4.0 machine registers wrong name in my DNS


Hi!

I just installed Vector Linux 4.0 on my beloved/hated P133 machine. There were some "issues" where I disagreed with the configuration, but I seem to be getting my way on most stuff now. There is however one thing that still annoys me:

The machine registers wrong name in my DNS! It doesn't register hostname, but (I believe) the MAC address from the nic. If I type
Code:
~> hostname
crap
I get the correct answer, but in my DNS it's
Code:
~> nslookup -sil 172.24.85.1
Server:         172.24.85.254
Address:        172.24.85.254#53

1.85.24.172.in-addr.arpa        name = 0100C0DF5098B9.homenet.
That alias is worse than the IP! Where is this configured? Somewhere around dhclient, perhaps?

Regards
Martin

Edit:
Sorry, forgot this information. My home network uses dhcp to assign addresses. And both my Redhat machine(s) and my Windows machine can register useful names in the DNS.

Last edited by MartinN; 12-02-2003 at 02:45 AM.
 
Old 12-02-2003, 06:16 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Original Poster
Rep: Reputation: 30
Found the reason myself!

Hi again!

I found the reason. There seems to be a bug in the script that brings up eth0. If you experience the same problem, then you may want to change the script '/etc/rc.d/rc.inet1'. There was a missing '-h' option to dhcpcd.
Code:
...
# OK, time to set up the interface:
if [ "$DHCP" = "yes" ]; then # use DHCP to set everything up:
  echo "Attempting to configure eth0 by contacting a DHCP server..."
  /sbin/dhcpcd eth0 -h `hostname` # <-- CHANGED HERE!
elif [ ! "$IPADDR" = "127.0.0.1" ]; then # set up IP statically:
...
I have reported this as a bug on Vector Linux' own forum.

Regards
Martin
 
  


Reply



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
DNS misconfiguration or what is wrong here? rebayona Linux - Networking 10 09-27-2005 04:32 AM
DNS test result. What's wrong? frankpretec Linux - Networking 3 04-05-2005 07:21 PM
How a linux registers in a dns\wins juanb Linux - Networking 1 09-19-2004 08:19 AM
PPP and Wrong ISP DNS Allen614 Slackware 1 02-16-2003 11:12 AM
DNS- Whats wrong here? bripage Linux - Networking 7 01-22-2003 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > VectorLinux

All times are GMT -5. The time now is 04:56 AM.

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