configure static ip address with yast

Avi Greenbury lists at avi.co
Tue Oct 28 10:14:21 UTC 2014


thufir wrote:
> One question, if I may:  I don't "own" foo.com, it's registered to 
> noip.com -- I only have server1.foo.com.  It's not just possible, but 
> very likely, that someone else is running server2.foo.com, which would 
> have no connection with what I'm doing.
> 
> The search domain would still be foo.com?  The ip address for DNS lookup 
> is registered for server1.foo.com with noip.com correctly, so, 
> presumably, their foo.com will search and find server1 ok.

The search-domain is a convenience preference, rather than a setting
per-se.

When you request a DNS name that doesn't end in a dot, your DNS client
will first check for it as a subdomain of any search domains, before
looking for it as a domain of its own.

So, if you request "mymachine.us" and have search domains of
"mycompany.net" and "mycompany.org", your DNS client will return the
IP address of the first of these to resolve:

    mymachine.us.mycompany.net.
    mymachine.us.mycompany.org.
    mymachine.us.

Besides how your local DNS client works there's nothing to really
consider when setting your search domains. They're mostly useful when
you want to be able to refer to all hosts in a domain by
hostname only, but otherwise are of little consequence.

Avi




More information about the ubuntu-users mailing list