Message boards :
Technical News :
Who is --fqdn? (Feb 08 2007)
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
littlegreenmanfrommars Send message Joined: 28 Jan 06 Posts: 1410 Credit: 934,158 RAC: 0 |
kryten.berkeley.edu would be what is called a Fully Qualified Domain Name. Not wishing to be pickily argumentative on a minor subject, but I haven't seen it done that way, Odysseus. Not to say that you're wrong: I've just never seen it done that way. |
littlegreenmanfrommars Send message Joined: 28 Jan 06 Posts: 1410 Credit: 934,158 RAC: 0 |
The three names could point to 1, 2 or 3 systems with 1, 2 or 3 different IP addresses on 1, 2 or 3 different subnets. Yes! Of course, you are right! Each NIC can be connected to a particular net or subnet. When practising networking at college, we had one server set up as a router for 10 separate networks, each with it's own IP range. One single NIC on the router had 10 different addresses! *slaps forehead* |
littlegreenmanfrommars Send message Joined: 28 Jan 06 Posts: 1410 Credit: 934,158 RAC: 0 |
[quote]Thanks LGM, I'm also a "student of IT". I used to work on an ISP helpdesk (Windows/Mac) in London for nearly 4 years dealing with home users. My UNIX knowledge is very slim. [quote] Hi Keith My own Unix knowledge is pretty slim, too, as I had my first Linux lesson this week. However, naming conventions for domains, etc, remain the same. |
Odysseus Send message Joined: 26 Jul 99 Posts: 1808 Credit: 6,701,347 RAC: 6 |
[…] a FQDN is supposed to end with a period […] Well, I’m far from expertâ€â€and Wikipedia isn’t always the most reliable sourceâ€â€but see their article on FQDN. P.S. They do say, “In practice, the dot is almost always omitted in everyday applications ….†|
Adam Weichel Send message Joined: 30 Jul 02 Posts: 22 Credit: 25,877,509 RAC: 46 |
[…] a FQDN is supposed to end with a period […] You're correct on both accounts... it "is" the way things are properly done, but seeing as all major browsers auto-resolve to having the TLD as the last portion of the FQDN, the final period is an interesting and technically active footnote in DNS and Internet lore. Computer nut, Distributed Computing freak, Jeeper and Dodge Ram driver. Life is worth living... and worth discovering. I run VMWare ESXi Free - why don't you? |
Cosmic_Ocean Send message Joined: 23 Dec 00 Posts: 3027 Credit: 13,516,867 RAC: 13 |
I had a feeling there was a way to actually set the hostname to "--fqdn" and I have been able to reproduce this. I used SLES10 (SuSE Linux Enterprise Server 10) and it's remarkably easy to do so from the command line. This is how mine worked out: Pegasus:~ # hostname Pegasus Pegasus:~ # cat > /root/hostname.txt --fqdn ctrl+d Pegasus:~ # hostname -F /root/hostname.txt Pegasus:~ # hostname --fqdn Pegasus:~ # exit [open a terminal window again] --fqdn:~ # hostname --fqdn --fqdn:~ # vi hostname.txt [change --fqdn to Pegasus and save] --fqdn:~ # hostname -F /root/hostname.txt --fqdn:~ # hostname Pegasus --fqdn:~ # exit [open a termianl window again] Pegasus:~ #I would have to agree that it's because of a .conf file or incorrect syntax somewhere. Perhaps instead of --fqdn being outside of quotes, it got put inside double quotations somwhere and is being read as a string instead of a switch. Linux laptop: record uptime: 1511d 20h 19m (ended due to the power brick giving-up) |
Eric Korpela Send message Joined: 3 Apr 99 Posts: 1382 Credit: 54,506,847 RAC: 60 |
I've solved this problem, and unfortunately it wasn't the cause of all our woes. It turns out its one of those Solaris/Linux incompatibilities. Two of them, actually... When you run "su" on linux and start a shell the shell you start will source the startup files from the root account's home directory. On solaris, it will source the startup files on the account you are running "su" from. I've always thought that was pretty dangerous. So what was happening was, I was running "su" from the boincadm account on solaris. Since /bin/sh is unusable, I always start bash after I become root on a solaris machine. I wasn't aware that someone had created a .bashrc in the boincadm account. In that .bashrc file, there was a command that sets a variable to the fully qualified domain name when run on linux. "MYHOST=`hostname --fqdn`" On solaris, there is no --fqdn option to hostname. An argument to hostname there attempts to set the hostname. When run as boincadm, nothing happens, since only root can set the hostname. When run as root, it sets the hostname to --fqdn. Mystery solved. Unfortunately, not the big mystery. Eric @SETIEric@qoto.org (Mastodon) |
littlegreenmanfrommars Send message Joined: 28 Jan 06 Posts: 1410 Credit: 934,158 RAC: 0 |
I've solved this problem, and unfortunately it wasn't the cause of all our woes. It turns out its one of those Solaris/Linux incompatibilities. Two of them, actually... And this, it seems, is how IT people learn their profession... day by day. There's ALWAYS something new to discover. NO-ONE knows everything. There is no shame in admitting you don't know something. It's a helluva good feeling when you finally nut out a problem, though. I hope you get plenty of those warm, fuzzy feelings, Matt. You deserve them. |
cooldudeof02 / Shane Gill Send message Joined: 20 Nov 02 Posts: 15 Credit: 172,394 RAC: 0 |
It's a helluva good feeling when you finally nut out a problem, though. I hope you get plenty of those warm, fuzzy feelings, Matt. You deserve them. Or at least some good rum or a fine whiskey. That always gives me warm, fuzzy feelings. :D The universe is a pretty big place. It's bigger than anything anyone has ever dreamed of before. So if it's just us... seems like an awful waste of space. Right? |
Jan Schotsmans Send message Joined: 27 Oct 00 Posts: 98 Credit: 92,693 RAC: 0 |
Lol Matt, the 10 year old zmailer problem I linked to was also on Solaris and caused by a config file made for debian/linux. Kinda funny to find the solution to something like this in a 10 year old maillist archive XD |
NightHawke Send message Joined: 14 May 99 Posts: 16 Credit: 2,494,119 RAC: 0 |
<Capt. Crais> "KRYTEN!!!" </Capt. Crais> ..... Oops, wrong channel... ^.^ |
littlegreenmanfrommars Send message Joined: 28 Jan 06 Posts: 1410 Credit: 934,158 RAC: 0 |
[…] a FQDN is supposed to end with a period […] So that's it... we're just too lazy to add a dot, huh? Interesting point, though (pun unintended) |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.