Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Jerry Vonau : > The dns hijack would suffer from an ip change also, would it not? No. If the real antitheft.laptop.org changes IP, our hijack still works. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.o

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Jerry Vonau
On Tue, 2009-03-17 at 16:04 -0400, Daniel Drake wrote: > 2009/3/17 Martin Langhoff : > > It's in my plans to have a means to do what you're doing. I was wondering > > about > > > > - a conf.d approach > > - a pre-processor for the .in files that handles ifdef-style blocks > > - whether dnsmasq

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Jerry Vonau
On Tue, 2009-03-17 at 11:21 -0400, Daniel Drake wrote: > 2009/3/17 Jerry Vonau : > > Guess you missed the part in the README about using an ".in" template to > > make your local changes stick between updates. On a different note, you > > could also use iptables to redirect traffic headed towards >

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Jerry Vonau
On Tue, 2009-03-17 at 12:00 -0400, Daniel Drake wrote: > 2009/3/17 Daniel Drake : > > But the iptables idea is a good one, thanks! > > ...but unfortunately the redirect is done by IP, which results in all > services/sites that might be running on the same system as > activation.laptop.org being un

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Martin Langhoff : > It's in my plans to have a means to do what you're doing. I was wondering > about > >  - a conf.d approach >  - a pre-processor for the .in files that handles ifdef-style blocks >  - whether dnsmasq or djbdns can help us here > > I sure hope BIND won't be with us for

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Martin Langhoff
On Wed, Mar 18, 2009 at 4:21 AM, Daniel Drake wrote: > The changes to .in will be overwritten when xs-configs gets updated. > But the iptables idea is a good one, thanks! It's in my plans to have a means to do what you're doing. I was wondering about - a conf.d approach - a pre-processor for t

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Daniel Drake : > But the iptables idea is a good one, thanks! ...but unfortunately the redirect is done by IP, which results in all services/sites that might be running on the same system as activation.laptop.org being unaccessible, and also breaks as soon as the upstream IP for activati

Re: [Server-devel] adding custom dns entries on XS

2009-03-17 Thread Daniel Drake
2009/3/17 Jerry Vonau : > Guess you missed the part in the README about using an ".in" template to > make your local changes stick between updates. On a different note, you > could also use iptables to redirect traffic headed towards > "updates.laptop.org", kind of like the rule used for squid, jus