327 reputation
211
bio website synchromedia.co.uk
location France
age 45
visits member for 4 years, 2 months
seen 7 hours ago

Skier, Biker, PHP coder, Email wiz, Sysadmin


Jun
6
awarded  Notable Question
Nov
26
comment Spoofing NS records for pre-transfer DNS testing
I'm already placing a local DNS in front of the normal one and having it return static records instead of looking them up (which is a very limited kind of split DNS I guess). As far as I can see, this works (in that when I do a manual NS lookup on the domain (which involves querying the old DNS host), my local DNS is returning the spoofed IP), but for some reason that's not enough to make it get everything else from there.I have a suspicion that this is more about how the OS does lookups in general than the workings of DNS.
Nov
25
comment Spoofing NS records for pre-transfer DNS testing
I know I can look up NS entries individually, but what I want is to spoof the whole machine to look at the new DNS, as if I could provide the @newserver option to browsers, email clients etc. What I was trying to do is make a local DNS server override the IPs for the old host's name servers to point at the new one, so a lookup for ns1.oldhost resolves to ns1.newhost's IP, thus fooling the whole system to get its names from there, and thus making everything act as it will after the real DNS switch.
Nov
25
asked Spoofing NS records for pre-transfer DNS testing
Nov
25
answered Why don’t SMTP servers just require all senders to be authenticated before accepting mail?
Nov
18
awarded  Critic
Oct
11
awarded  Revival
Jul
5
answered How to set up memcached to use unix socket?
May
7
awarded  Popular Question
Feb
11
comment Using HAProxy for transparent forwarding and selective redirection
I gave up trying to get haproxy to do this, followed your suggestion and have set up a DNS server with dnsmasq instead, and it works just fine with a 1-line config. I did look at squid, but it's a config nightmare.
Feb
11
accepted Using HAProxy for transparent forwarding and selective redirection
Feb
11
revised Using HAProxy for transparent forwarding and selective redirection
Add note about http_proxy
Feb
11
comment Using HAProxy for transparent forwarding and selective redirection
This isn't true: you can have a backend containing only option http_proxy and no server directives and it will work. The only downside is that it won't do name lookups, only explicit IPs, making it useless as a forward proxy.
Feb
11
asked Using HAProxy for transparent forwarding and selective redirection
Jan
29
awarded  Yearling
Oct
25
awarded  Commentator
Oct
25
comment monit configuration for php-fpm
The problem with this approach is that if nginx is down, monit will kill PHP-FPM, possibly making whatever problem you're having worse.
Oct
18
comment Apache and multiple PHP-FPM pools
Incidentally I'm using FilesMatch instead of AddHandler because it's more specific.
Oct
18
asked Apache and multiple PHP-FPM pools
Oct
18
answered Apache and multiple PHP-FPM pools