LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2007, 07:34 PM   #1
ageo
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
Question Why is my domain set to btopenworld.com?


Hi!

In my local network, I connect a laptop that's set for DHCP, and I noticed that the hostname is being set to <ip>.in-addr.btopenworld.com. Laptop is running Fedora 7 (no SE Linux because I have Oracle services and configuring them through the Linux firewall is a pain.

I have a Lynksys router and all workstations connect to that. Another pc that has a fixed IP gets the domain I have set for my local network.

Why is this happening?
 
Old 12-28-2007, 07:47 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Is the DHCP option enabled on your router and did you configure Fedora to not change the hostname via dhcp using the network configuration tool?
 
Old 12-29-2007, 12:27 AM   #3
ageo
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Yes, router is set to DHCP and hostname is being set explicitly

Router is set to DHCP. Laptop is set to obtain address dynamically (DHCP) but I'm explicitly setting the hostname.

When I issue the command hostname I see the hostname I set. But when I ssh into another box I get the reply...

Last login: Fri Dec 28 23:24:21 2007 from host<local-IP>.in-addr.btopenworld.com

And then if I issue the command "who" I see...

<user> pts/0 2007-12-28 23:27 (host<local-IP>.in-addr.btopenworld.com)

I did not see an option in Fedora 7 where I'm allowing the hostname to be set/changed dynamically.
 
Old 12-29-2007, 02:02 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Instead of setting the hostname using the hostname command, have you tried using system-config-network to do this and then reboot?
 
Old 12-30-2007, 10:34 AM   #5
ageo
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
>>Instead of setting the hostname using the hostname command, have you tried using system-config-network to do this and then reboot?<<

The hostname is set in the system-config-network utility. If I append the domain right there in the hostname field it all gets set as a hostname. I don't see a field to set the domain name explicitly unless I'm using a static IP.

It is the domainname what is being changed somehow to btopenworld.com.

Thx!
 
Old 01-01-2008, 09:24 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
How about setting the host and domain name in /etc/sysconfig/network. Does that make any difference?
 
Old 01-01-2008, 10:21 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Could that information be set by your DNS lookup? I looked atbtopenworld on whois and found a U.K. site offering broadband access and modems, and they own the whole 213.-.-.- address range, so, if you're using an address in that range, DNS will, I presume, return btopenworld (Which, I assume, is an abbreviation for "British Telecoms Open World.")

Note: The above is just a guess, since I've never had occasion to use ssh, and have no idea if it uses a reverse DNS lookup to find the name of the address to which it's pointed.
 
Old 01-01-2008, 10:38 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You are correct, BT OpenWorld is a British Telecom ISP. I know some distros have an option to "override" the settings sent by the DNS server so on the local network you should see your hostname.domain instead of the your ISPs. I thought system-config-network had this option, but I've just realised that I was thinking about the Mandriva network configuration tool.
 
  


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
How to set the domain name? Focle_Wulf-190 Slackware 3 03-28-2020 10:29 PM
passwd: can't get local yp domain: Local domain name not set powah Linux - Security 4 06-08-2006 09:59 AM
how do I set the domain name? exodist Linux - Software 6 09-02-2004 01:47 PM
How to set up domain ronald_fancher Linux - Networking 4 12-19-2003 10:41 AM
Mandrakw 9 - BTOpenWorld - please help wildfire Linux - Networking 6 10-10-2002 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:53 PM.

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