Skip to content

nomeata/libnss-gw-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libnss-gw-name
==============

The libnss-gw-name name service switch module resolves the name
“gateway.localhost” to the IP address of the gateway of the currently
configured default route.

Manual installation
===================

The Debian package takes automatically care of setting up libnss-gw-name.
To compile libnss-gw-name manually, you need to have the libnl library
installed (libnl-dev on Debian) and then run 

$ make && make install

To make the system actually use this NSS module, add it to the list of
hosts modules in /etc/nsswitch.conf:

hosts:          files gw_name dns

Credits
=======

libnss-gw-name is © 2010 Joachim Breitner and licensed under the terms of
the GNU General Public Licencse, version 2 or later (see LICENSE).

It incorporates some code from the nss-mdns module, © 2004 Lennart Poettering.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published