suffix translation

Tony Finch dot at dotat.at
Wed Nov 28 14:04:07 UTC 2018


Joel Linn <jl at conductive.de> wrote:

> or generate a CNAME on the fly "someservice.old.local. IN CNAME
> someservice.int.new.com." for every request it gets.

You can do this with a DNAME record :-)

i.e. set up your stunt DNS server with a zone like

	zone old.local {
		type master;
		file "db.old.local";
	};

and in db.old.local put:

	$TTL 1h
	old.local	SOA	stuntdns.int.new.com. jl.conductive.de. (
				1 1h 1h 1w 1h )
			NS	stuntdns.int.new.com.
			DNAME	int.new.com.

You can configure the server to forward other queries, which should have
the proxy effect that you want.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Hebrides, Bailey, Fair Isle, Faeroes, Southeast Southeast Iceland: Easterly,
veering southwesterly, 7 to severe gale 9, then backing southerly 6 to gale 8,
occasionally storm 10 at first in Hebrides and Fair Isle. Very rough or high,
becoming very high for a time in far northeast Fair Isle. Rain or showers.
Moderate or poor, occasionally good.


More information about the bind-users mailing list