Re: nm with dnsmasq?

2007-12-04 Thread Neal Becker
On Tuesday 04 December 2007, Dan Williams wrote:
 On Mon, 2007-12-03 at 20:52 -0500, Neal Becker wrote:
  Is there some way to get nm to cooperate with a local caching NS?  I'm
  thinking dnsmasq, since it's lightweight.  The problem is that NM will
  overwrite resolv.conf.  What is the recommendation?

 With 0.7 we need to rethink the caching nameserver stuff.  The code is
 still there to talk to named, but we should probably rip it out and make
 it more modular so people can use it with dnsmasq, resolvconf, other
 tools, etc.

 Dan

In the interim, how about this: Have nm read a config file /etc/nm.config, 
which includes an option 'dont_overwrite_resolv.conf'?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Dan Williams
On Mon, 2007-12-03 at 20:52 -0500, Neal Becker wrote:
 Is there some way to get nm to cooperate with a local caching NS?  I'm
 thinking dnsmasq, since it's lightweight.  The problem is that NM will
 overwrite resolv.conf.  What is the recommendation?

With 0.7 we need to rethink the caching nameserver stuff.  The code is
still there to talk to named, but we should probably rip it out and make
it more modular so people can use it with dnsmasq, resolvconf, other
tools, etc.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Neal Becker
Derek Atkins wrote:

 Neal Becker [EMAIL PROTECTED] writes:
 
 Is there some way to get nm to cooperate with a local caching NS?  I'm
 thinking dnsmasq, since it's lightweight.  The problem is that NM will
 overwrite resolv.conf.  What is the recommendation?
 
 Use bind with dbus turned on and it all just works.
 
 -derek
Apparantly that is going away:
https://www.redhat.com/archives/fedora-devel-list/2007-December/msg00146.html

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Dan Williams
On Tue, 2007-12-04 at 10:36 -0500, Neal Becker wrote:
 On Tuesday 04 December 2007, Dan Williams wrote:
  On Mon, 2007-12-03 at 20:52 -0500, Neal Becker wrote:
   Is there some way to get nm to cooperate with a local caching NS?  I'm
   thinking dnsmasq, since it's lightweight.  The problem is that NM will
   overwrite resolv.conf.  What is the recommendation?
 
  With 0.7 we need to rethink the caching nameserver stuff.  The code is
  still there to talk to named, but we should probably rip it out and make
  it more modular so people can use it with dnsmasq, resolvconf, other
  tools, etc.
 
  Dan
 
 In the interim, how about this: Have nm read a config file /etc/nm.config, 
 which includes an option 'dont_overwrite_resolv.conf'?

Not really; that's got a lot of potential for abuse and sends the wrong
message.  How would DNS information from NM get to the caching
nameserver?

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Dan Williams
On Tue, 2007-12-04 at 11:02 -0500, Neal Becker wrote:
 Derek Atkins wrote:
 
  Neal Becker [EMAIL PROTECTED] writes:
  
  Is there some way to get nm to cooperate with a local caching NS?  I'm
  thinking dnsmasq, since it's lightweight.  The problem is that NM will
  overwrite resolv.conf.  What is the recommendation?
  
  Use bind with dbus turned on and it all just works.
  
  -derek
 Apparantly that is going away:
 https://www.redhat.com/archives/fedora-devel-list/2007-December/msg00146.html

Yeah...

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Derek Atkins
Neal Becker [EMAIL PROTECTED] writes:

 Is there some way to get nm to cooperate with a local caching NS?  I'm
 thinking dnsmasq, since it's lightweight.  The problem is that NM will
 overwrite resolv.conf.  What is the recommendation?

Use bind with dbus turned on and it all just works.

-derek
-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Derek Atkins
Dan Williams [EMAIL PROTECTED] writes:

  Use bind with dbus turned on and it all just works.
  
  -derek
 Apparantly that is going away:
 https://www.redhat.com/archives/fedora-devel-list/2007-December/msg00146.html

 Yeah...

Too bad!  It's really nice and useful!

 Dan

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Dan Williams
On Tue, 2007-12-04 at 14:20 -0500, Derek Atkins wrote:
 Dan Williams [EMAIL PROTECTED] writes:
 
   Use bind with dbus turned on and it all just works.
   
   -derek
  Apparantly that is going away:
  https://www.redhat.com/archives/fedora-devel-list/2007-December/msg00146.html
 
  Yeah...
 
 Too bad!  It's really nice and useful!

The functionality won't be going away (though it might hiccup a bit),
since it definitely is still useful.  Just the communication
implementation between NM and named.  Everyone agrees that it's nice to
have named (or something else) as a caching nameserver that can be
updated dynamically, but the D-Bus interface in named was never going
upstream and wasn't very maintainable.  I think the hand-wavy new plan
is to use other tools that ship with named to update the forwarders in a
non-D-Bus-y way.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: nm with dnsmasq?

2007-12-04 Thread Derek Atkins
Quoting Dan Williams [EMAIL PROTECTED]:

 Too bad!  It's really nice and useful!

 The functionality won't be going away (though it might hiccup a bit),
 since it definitely is still useful.  Just the communication
 implementation between NM and named.  Everyone agrees that it's nice to
 have named (or something else) as a caching nameserver that can be
 updated dynamically, but the D-Bus interface in named was never going
 upstream and wasn't very maintainable.  I think the hand-wavy new plan
 is to use other tools that ship with named to update the forwarders in a
 non-D-Bus-y way.

I've got a bunch of ISC people (including a number of Bind developers)
at my disposal this week.  Anything in particular you'd like me to ask
them or talk to them about?  I'm personal friends with the BIND9 project
manager. ;)

 Dan

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list