how to use hosts and DNS on same machine

how to use hosts and DNS on same machine

Post by Robert Meg » Sat, 30 Dec 1995 04:00:00



I've got a class c subnet* from our class b subnet.  The class
b has the nameserver but doesn't know the class c exists.  The whole
mess is behind a firewall, so outside options are out.  I've already
tried using the entry: order hosts,BIND in the reslov.conf but it
did no good.  This is a 715 running 9.0hp-ux.  

Any suggestions?

thanks,
Robert

--
====================================================================
Breathe in and breathe out,      |          Robert Megee

====================================================================

 
 
 

how to use hosts and DNS on same machine

Post by Dave Hillma » Sun, 31 Dec 1995 04:00:00



Quote:> I've got a class c subnet* from our class b subnet.  The class
> b has the nameserver but doesn't know the class c exists.  The whole
> mess is behind a firewall, so outside options are out.  I've already
> tried using the entry: order hosts,BIND in the reslov.conf but it
> did no good.  This is a 715 running 9.0hp-ux.  

   I'm having the same problem on a 712 running 9.05.  Apparently, HP
finds something is gained by making co-operation not the default
behavior.  I can't imagine what.

   Please advise if you have either a solution or an explanation.

thanks,
dave

--
 Dave Hillman
 New Boston Systems, Chicago


 
 
 

how to use hosts and DNS on same machine

Post by Cricket L » Sun, 31 Dec 1995 04:00:00


: I've got a class c subnet* from our class b subnet.  The class
: b has the nameserver but doesn't know the class c exists.  The whole
: mess is behind a firewall, so outside options are out.  I've already
: tried using the entry: order hosts,BIND in the reslov.conf but it
: did no good.  This is a 715 running 9.0hp-ux.  

"order" isn't a legit directive in resolv.conf.  If you're running HP-UX
9.X, you'll need a slew of patches available from support.mayfield.hp.com
to implement configurable resolution order via a file called nsswitch.conf.
Then you use the source keyword "hosts" in nsswitch.conf.  If you're
already running HP-UX 10.X, nsswitch functionality is included.  See the
man pages.

-----
cricket

Lead Dog, Americas Internet Services Program
Hewlett-Packard Professional Services, Boulder, CO

URL:  http://www.veryComputer.com/~cricket/cricket.html

 
 
 

how to use hosts and DNS on same machine

Post by M. Damere » Sun, 31 Dec 1995 04:00:00


|> ...........If you're running HP-UX
|> 9.X, you'll need a slew of patches ..........

Take note that the patch numbers change from time to time. Last time I tried,
the patches caused severe problems on our PCs which access files & printers
on the (HPUX 9) server using PCNFS. With the patches in, PCNFS "net use"
commands would fail. I had to remove the patches in a hurry.

Please does anybody know if this problem got fixed, I would like to try
again... ?

 
 
 

how to use hosts and DNS on same machine

Post by Bill Hasse » Tue, 02 Jan 1996 04:00:00


: I've got a class c subnet* from our class b subnet.  The class
: b has the nameserver but doesn't know the class c exists.  The whole
: mess is behind a firewall, so outside options are out.  I've already
: tried using the entry: order hosts,BIND in the reslov.conf but it
: did no good.  This is a 715 running 9.0hp-ux.  

  For 9.0x, there is no fallback capability.  Here are the latest patches
  (but as always, check for superceded ones):

  For 700's at 9.05:
  ------------------

  Install the fallback patches: PHCO_5791 (libc)
                                PHCO_4439 (mount)
                                PHNE_4563 (nslookup et al)
                                PHNE_4487 (ifconfig/route)
                                PHSS_5647 (VUE periodic patch)
                                PHSS_5482 (xterm, xhost, xrdb)

  For 800's at 9.04:
  ------------------

  Install the fallback patches: PHCO_5954 (libc)
                                PHCO_4784 (mount)
                                PHNE_4563 (nslookup et al)
                                PHNE_4488 (ifconfig/route)
                                PHSS_5647 (VUE periodic patch)
                                PHSS_5482 (xterm, xhost, xrdb)

  Then to configure DNS-to-host fallback:

       cp  /etc/newconfig/nsswitch/nssw.filesdns  /etc/nsswitch.conf

  Or to configure host-to-DNS fallback:

       cp  /etc/newconfig/nsswitch/nssw.dnsfiles  /etc/nsswitch.conf

--

           __?__
          /     \
         / ^   ^ \
        ( (o) (o) )
         \       /
*=oOOO======(_)=====OOOo====*=====================================*
|   Bill Hassell            |  Hewlett-Packard Response Center    |

*=============Oooo.=========*=====================================*
      .oooO   (   )
       (   )    ) /   "There are two types of computer users in the
        \ (    (_/     world...those that have lost data, and those
         \_)           that are going to."        (blh, circa 1972)

 
 
 

1. DNS and host files

All,
Question of the day, we are about to change our entire network address
setup to a system useing variable length subnet masks and a new class B
network. In conjunction with that we are modifying our DNS structure to
conform to a master-> subdomain structure. As one of the things our team
leader has suggested and wants to implement is cleaning out the hosts
files so that the only thing that is available are the loopback/loghost,
local interface names/numbers and the DNS master and slave systems. He
also wants to set the perms on the hosts file to 400 so that people
can't "snoop" and see what other addresses there are ?? Has anyone been
down this road before and see any gothchas? I am particularly concerned
about locking down the host file so drastically, but they are using our
"corporate" security model so there isn't much I can say. These will all
be HPUX 11.00 systems, and some Solaris 2.6->2.8 boxes. Any one got any
ideas?

Alan D Johnson

Not the real me, just his evil twin skippy.

2. ligature usage

3. Unique Host Names & DNS

4. HP 300XL, PostScript, memory & manuals

5. Hosts before DNS

6. Smart Editor Needed !!! HELP !!!

7. Priority: host before DNS

8. The new iPaq 3970 is disappointing.

9. DNS vs /etc/hosts query.

10. DNS and /etc/hosts

11. dns-server and hosts file

12. DNS and /etc/hosts question

13. NIS, DNS, /etc/hosts HPUX 10.01