DNS configuration

DNS configuration

Post by Seung-il Le » Fri, 06 Aug 1999 04:00:00



I want to find name of a computer from /etc/hosts first, and next search
via DNS server.
But it seems that if I set DNS server, it first finds via DNS server,
and never look at /etc/hosts.
How can I adjust this?

--

    Micro Architecture and System Software Lab.
    Tel : 871-8096(Home), 883-8430(Lab), 019-371-8096(PCS)
    Fax : 882-4656, Homepage : http://altair.snu.ac.kr/~hacker

 
 
 

DNS configuration

Post by Matthew Land » Fri, 06 Aug 1999 04:00:00



> I want to find name of a computer from /etc/hosts first, and next search
> via DNS server.
> But it seems that if I set DNS server, it first finds via DNS server,
> and never look at /etc/hosts.
> How can I adjust this?

> --

>     Micro Architecture and System Software Lab.
>     Tel : 871-8096(Home), 883-8430(Lab), 019-371-8096(PCS)
>     Fax : 882-4656, Homepage : http://altair.snu.ac.kr/~hacker

There are 2 ways to do this.

1) Edit the /etc/netsvc.conf file (global)

# to search /etc/hosts then DNS then NIS
hosts = local , bind , nis
# to search DNS, /etc/hosts, NIS
hosts = bind , local , nis

2) export the NSORDER variable (per user... overrides /etc/netsvc.conf)

export NSORDER = local , bind , nis

--
________________________________________________________

Comments, views, and opinions are mine alone, not IBM's.

 
 
 

DNS configuration

Post by Andre Dia » Sat, 07 Aug 1999 04:00:00


Hello!

I cant make it work either with /etc/netsvc.conf and NSORDER, it always
starts through the DNS server. My Aix version is 4.3

Best Regards,
Andr
(HP-UX and Aix SysAdm)

>There are 2 ways to do this.

>1) Edit the /etc/netsvc.conf file (global)

># to search /etc/hosts then DNS then NIS
>hosts = local , bind , nis
># to search DNS, /etc/hosts, NIS
>hosts = bind , local , nis

>2) export the NSORDER variable (per user... overrides /etc/netsvc.conf)

>export NSORDER = local , bind , nis

>--
>________________________________________________________

>Comments, views, and opinions are mine alone, not IBM's.

 
 
 

DNS configuration

Post by Geral » Sat, 07 Aug 1999 04:00:00


Get rid of the spaces.

/etc/netsvc.conf:
hosts=local,dns

or

export NSORDER=local,dns


> Hello!

> I cant make it work either with /etc/netsvc.conf and NSORDER, it always
> starts through the DNS server. My Aix version is 4.3

> Best Regards,
> Andr
> (HP-UX and Aix SysAdm)

> >There are 2 ways to do this.

> >1) Edit the /etc/netsvc.conf file (global)

> ># to search /etc/hosts then DNS then NIS
> >hosts = local , bind , nis
> ># to search DNS, /etc/hosts, NIS
> >hosts = bind , local , nis

> >2) export the NSORDER variable (per user... overrides /etc/netsvc.conf)

> >export NSORDER = local , bind , nis

> >--
> >________________________________________________________

> >Comments, views, and opinions are mine alone, not IBM's.

 
 
 

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. Open Source Real Time Strategy Game Engine

3. lockstat -kgIW and spl()

4. DNS configuration

5. character vs block

6. Max size of UFS file system question

7. Sendmail/DNS Configuration Problem

8. dns configuration

9. DNS Configuration

10. newbie DNS configuration problems

11. Unix DNS Configuration