Skip to main content

Posts

Showing posts from December, 2012

Jailing Bind(Named) User in Ubuntu

           Exact step that i followed to jail bind user in ubuntu12.04.You can use following steps for almost any debian system.To known more about what is jailing ?? go to this link . To known more about how to break a jail follow this link                 echo "/named/jail is our jail directory"      echo "inside it create a linux filesystem environment"      ls -l       cd dev      mknod null c 1 3      mknod zero c 1 5      mknod random c 1 8      ls -lk      clear      cd ..      cd /etc/      ls -l      cd /named/jail/      cd etc         ls -l      echo"move bind folder from /etc/bind to /named/jail/etc/bind"      echo "move bind folder from /etc/bind to /named/jail/etc/bind"      clear      nano /etc/default/bind9       clear      ls -l      cd bind/      ls -l      /etc/init.d/bind9 restart      echo "it didnt started...lets troubleshoot"      cat /var/log/syslog | tail -30      /etc/init.d/

BASICS OF DOMAIN NAME SYSTEM

                      Conventional name resolution transforms a DNS name into an IP address. At the highest level, this process can be considered to have two phases. In the first phase, we locate a DNS name server that has the information we need: the address that goes with a particular name. In the second phase, we send that server a request containing the name we want to resolve, and it sends back the address required. Absolute (Fully-Qualified) and Relative (Partially-Qualified) Domain Name Specifications We simply start at the root node and follow the sequence of subdomains down to the node in question, listing each level's labels separated by a dot. When we do this, we get single name that uniquely identifies a particular device. Fully-Qualified Domain Names (FQDNs) Technically, if a top-level domain “A” contains a subdomain “B” that in turn contains subdomain “C”, the full domain name for “C” is “C.B.A.”. This is called the fully-qualified domain name (FQDN) for th