[torqueusers] Dependencies being ignored from some submit hosts.
John Hanks
griznog at gmail.com
Fri Feb 22 14:36:28 MST 2008
Perfect! So hostA runs dnsmasq which builds it's DNS data from
/etc/hosts. In that file I have:
192.168.0.1 hostA hostA.hpc.usu.edu
so getent hosts 192.168.0.1 on hostA returns
192.168.0.1 hostA hostA.hpc.usu.edu
But submitA didn't have that entry in /etc/hosts and gets the DNS view,
192.168.0.1 hostA.hpc.usu.edu.
Adding an entry to /etc/hosts on submitA has fixed the problem.
Thanks for your help,
jbh
On Fri, Feb 22, 2008 at 2:23 PM, Garrick Staples <garrick at usc.edu> wrote:
> On Fri, Feb 22, 2008 at 01:33:56PM -0700, John Hanks alleged:
>
> > Reverse lookups are consistent from both hosts, and hostA is the
> > primary nameserver for itself and submitA, so they should be getting
> > their answers from the same place.
> >
> > [root at hostA hostA]# host hostA
> > hostA.hpc.usu.edu has address 192.168.0.1
> > [root at hostA hostA]# host 192.168.0.1
> > 1.0.168.192.in-addr.arpa domain name pointer hostA.hpc.usu.edu.
> >
> > user at submitA ~ $ host hostA
> > hostA.hpc.usu.edu has address 192.168.0.1
> > user at submitA ~ $ host 192.168.0.1
> > 1.0.168.192.in-addr.arpa domain name pointer hostA.hpc.usu.edu.
>
> Don't use 'host', use 'getent hosts'. The former uses DNS directly bypassing
> the system lookup functions.
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
More information about the torqueusers
mailing list