On 17/11/2011 14:41, Aleksander Kurczyk wrote: > If not, it is possible to map traffic from 127.0.0.11:53, > 127.0.0.12:53 and 127.0.0.13:53 to 127.0.0.1:2001, 127.0.0.1:2002 and > 127.0.0.1:2003 or to setup new loopback interfaces for 127.0.0.11, > 127.0.0.12 and 127.0.0.13 on Mac OS X or somehow do that?
If you're going to create all those alias IPs on the loopback, why not
just run a named on each of them directly? No need to worry about port
translation then.
Setting up aliases is easy enough:
seedling:~:% sudo ifconfig lo0 inet 127.0.0.2 alias
Password:
seedling:~:% ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet 127.0.0.2 netmask 0xff000000
(deleting one is just: sudo ifconfig lo0 inet 127.0.0.2 -alias)
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: [email protected] Kent, CT11 9PW
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

