[PATCH] question about socket.getfqdn()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've included a trivial patch that I'm using to work around my problem
at the moment related to reverse DNS lookups (the details are included
in the commit message).  I don't expect this patch to be included as
is, I just want to make known the issue that developers may hit when
reverse DNS lookup is not possible for certain hosts on their
network--I don't know how common this may be.  If anyone else has any
solutions that they could suggest to workaround the issue, I'm all
ears.

The main reason I can see wanting to use getfqdn() is that it always
returns a fqdn while gethostname() only does so some of the time (I
assume it just looks at $HOSTNAME).

I'll spend some time looking into how the puppetca deals with this
since I'm not having this issue with it on the network I work in.

--Brenton
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux