Qt-Addon classes merge
Thiago Macieira
thiago.macieira at kdemail.net
Tue Apr 20 15:40:51 BST 2004
Thiago Macieira wrote:
>Imagine a simple two-machine home LAN. You don't want to waste
> resources in running named. So, what do you do? Use your ISPs DNS
> servers in /etc/resolv.conf and put your two machines' names and IP
> addresses in /etc/hosts. This HAS to work. The only reason it
> currently works is that I've asked people not to do asynchronous
> lookups (because it's broken), thereby never using QDns.
Sorry, correcting myself. This is not a good example.
QDns does look into /etc/hosts.
But other situations, like hosts coming from NIS, are supposed to work.
There's a reason why you have /etc/nsswitch.conf and you can change the
configuration. Mine has:
#hosts: db files nisplus nis dns
hosts: files nisplus nis nres dns winbind
So, for instance, one of the options is winbind (SMB networks).
The problem here is that some of the lookups honoured it (synchronous
ones) and some didn't (asynchronous ones). This is not consistent.
--
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040420/a6e36484/attachment.sig>
More information about the kde-core-devel
mailing list