Tip: using dnsmasq

Thilo Six T.Six at gmx.de
Thu Aug 3 17:56:32 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

william_nbg wrote the following on 03.08.2006 19:00:
> Is this set up the same, if I'm using a static ip address on a local
> network??

Yes it should i think (with a lack of a local network i canĀ“t test it here).


Only one note on this howto. In the meantime i learned dnsmasq a little
more use now these settings here:
- -------------------------------------------------------------------
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
#interface=lo
# Or you can specify which interface _not_ to listen on
except-interface=ppp0
except-interface=eth0
# Or which to listen on by address (remember to include 127.0.0.1 if
# you use this.)
listen-address=127.0.0.1
# If you want dnsmasq to provide only DNS service on an interface,
# configure it as shown above, and then use the following line to
# disable DHCP on it.
no-dhcp-interface=ppp0
no-dhcp-interface=eth0
- -------------------------------------------------------------------

With this config dnsmasq does no listen to external requests.


bye Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine

gpg key: Ox4A411E09

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0jjPgkdHiUpBHgkRA2YxAJ9p537QB4fhRNexp1esqZ42LH0tuwCgx502
PkD9k6WJ6v7bM+QRPliyXr0=
=GeWH
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list