Playing with DNS in linux network namespaces using BIND
- Follow this article and setup directories in
/etc/netns/<namespace-name>
for the above topology and place the bind directories from this repo into their respective namespace directories. - After setting up the directories run
env.sh
to setup the topology. Edit the resolv.conf files in host and local_ns exec'ing into the namespaces.
Now try running a dig request from host
namespace to get records of ns1.test.tcl
.