DNS configuration

DNS configuration

Post by Lewis Li - ML system adm » Thu, 15 Aug 1996 04:00:00



    I have set up a DNS domain on sun solaris 2.5 without getting the
    public domain bind-4.9.x version. Everything work fine
    except that the behaviour of the following files changes:

        .rhosts
        /etc/exports
        hosts.equiv
        x0.hosts

    Without DNS, the .rhosts will look this:
        hostname        user

    With DNS, the .rhosts must change to this to work even if it only
    involve hosts within the local authoritative domain:
        hostname.domain_name    user

    Will this be solved by getting the bind-4.9.x and install the
    new resolver in every client ? or is this a configuration problem ?

Thanks !

 
 
 

DNS configuration

Post by William LeFebv » Sat, 17 Aug 1996 04:00:00




Quote:>    With DNS, the .rhosts must change to this to work even if it only
>    involve hosts within the local authoritative domain:
>    hostname.domain_name    user

This is correct behavior.  This is how it is supposed to work.  The
name listed in host equivalences files must be the "canonical" name,
not the nickname.  In DNS, the fully qualified domain name is the
canonical name.  When using the hosts file, the first name listed
after the IP address is taken to be canonical.

If you want to work around it, then you could change nsswitch.conf
so that the hosts line reads:

        hosts: files dns

This *may* fix it: my intuition tells me it should but I haven't
double checked this to make sure.

But that is really only a workaround.  You should be using FQDNs in
those files.

Quote:>    Will this be solved by getting the bind-4.9.x and install the
>    new resolver in every client ? or is this a configuration problem ?

As I said, this is not a bug.  It is normal and expected behavior.

                        William LeFebvre
                        Decision and Information Sciences
                        Argonne National Laboratory


 
 
 

1. DNS Configuration

I have posted to this news group and have always got great answers,
Thanks a bunch.

I have a new question.  I am about to setup a new web server with a
static IP.  I am going to use the cable modem for the connection.  The
cable company will give me an IP.  I am going to then register a domain
name.  Now what.  Do I need to setup a DNS server on the web server, or
is there a public DNS server that will keep track of my domain name?
Does anybody know the answer or of a tutorial that gives a good
description of how this works?

Thank you in advance,

John Burris

2. getty_ps-2.0.7i

3. A few minutes of your time...

4. DNS configuration

5. Iexplorer timeout on dialup - gateway

6. Sendmail/DNS Configuration Problem

7. bug in alim15x3(kernel 2.4.20)

8. dns configuration

9. DNS Configuration

10. newbie DNS configuration problems

11. Unix DNS Configuration

12. Need Help on DNS configuration