-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: ifupdown
Severity: minor
Version: 0.6.8
Tags: patch

Hello,

As the title says, there is no documentation about dns-nameserver
nor about dns-search.

[EMAIL PROTECTED] /usr/share/doc/ifupdown $ grep -R dns *
[EMAIL PROTECTED] /usr/share/doc/ifupdown $ apt-cache policy ifupdown
ifupdown:
  Instalat: 0.6.8
  Candidează: 0.6.8
  Tabela de versiuni:
 *** 0.6.8 0
         900 http://snapshot.debian.net etch/main Packages
         900 http://ftp.ro.debian.org etch/main Packages
         -10 http://ftp.ro.debian.org sid/main Packages
         100 /var/lib/dpkg/status


The small and incomplete patch attached gives at least the pointer
to a user looking for these options.

Although incomplete (sorry, I don't grok roff) to add comments about
the option, this should be enough to fix eventual issues.


Proposed explanation:

dns-nameservers - allows to associate a nameserver to the link; this
will be added to /etc/resolv.conf under a "nameserver" entry

dns-search - allows to add a "search" entry to /etc/resolv.conf,
when the interface is up


Note: I haven't found the right way to add more than one nameserver
associated to a certain interface.

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGE55TY8Chqv3NRNoRAtCvAKDe9z00T/pcGlf2Xbj/t3ehT2Go+gCeJ6y0
r45xc2esnlx5FrWqUFznGYo=
=LOQO
-----END PGP SIGNATURE-----
diff -ruN ifupdown-0.6.8/debian/changelog ifupdown-0.6.8.1/debian/changelog
--- ifupdown-0.6.8/debian/changelog	2006-09-28 20:08:55.000000000 +0300
+++ ifupdown-0.6.8.1/debian/changelog	2007-04-04 15:19:19.000000000 +0300
@@ -1,3 +1,11 @@
+ifupdown (0.6.8.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add dns-nameserver and dns-search at the static example in interfaces
+    to have some kind of documentation about these options
+
+ -- Eddy Petrișor <[EMAIL PROTECTED]>  Wed,  4 Apr 2007 15:14:26 +0300
+
 ifupdown (0.6.8) unstable; urgency=low
 
   * Add myself as co-maintainer with approval from Anthony Towns.
diff -ruN ifupdown-0.6.8/interfaces.5.pre ifupdown-0.6.8.1/interfaces.5.pre
--- ifupdown-0.6.8/interfaces.5.pre	2006-09-15 21:03:20.000000000 +0300
+++ ifupdown-0.6.8.1/interfaces.5.pre	2007-04-04 15:12:48.000000000 +0300
@@ -46,6 +46,8 @@
  	address 192.168.1.1
  	netmask 255.255.255.0
  	up flush\-mail
+ 	dns\-nameservers 192.168.1.254
+ 	dns\-search localdomain
 
 iface eth0\-work inet dhcp
 

Reply via email to