![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help Required: Command to find IP address and command executed of a user | loggedout | Security | 2 | 3 Weeks Ago 05:12 PM |
| how to? launch command with string of command line options | TinCanFury | Shell Programming and Scripting | 5 | 04-28-2008 03:06 PM |
| inconsistent ls command display at the command prompt & running as a cron job | rajranibl | Linux | 5 | 07-30-2007 05:26 AM |
| domainname dnsdomainname....etc ?? | moxxx68 | UNIX for Dummies Questions & Answers | 7 | 12-21-2004 07:07 AM |
| question about domainname | dookeobih | UNIX for Dummies Questions & Answers | 1 | 01-29-2002 08:18 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
domainname command
Hey,
I've been on this for a while... can somebody explain to me what the domainname command really does. The man pages don't tell enough. And how can i have the domain name set so it will be the same all the time when the OS boots up. |
| Forum Sponsor | ||
|
|
|
||||
|
The solaris manual page is a lot better than most at describing this command (some of the *BSD's I've seen give a terse two sentence description)...
And yes, something along the lines of DOMAINNAME=foo.net inside /etc/sysconfig/network should do the trick. You may also need to specify the local domain name in /etc/resolv.conf Cheers ZB |
|
|||
|
ummmmm i edited the /etc/sysconfig/network and added a domain name in there and when i type domainname it doesn't bring anything up. If i type
domainname mydomain.com then it will work. Weird I've got a practical test on tuesday so i'm trying to figure everything out haha. Does anybody know why this happens? |
|||
| Google UNIX.COM |