GithubHelp home page GithubHelp logo

bind9conf's Introduction

bind9conf

/etc/bind

Ejemplo de configuracion basica con bind9. DNS autoritativo hackingyseguridad.es, con direccionamiento privado IP 192.168.1.252

apt-get install bind9

cd /ect/bind

mkdir backcup

cp . backup

1º.- editamos fichero: named.conf.local

// // Do any local configuration here //

// Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; //zona directa zone "hackingyseguridad.es" {type master; file "/etc/bind/db.hackingyseguridad";}; //zona inversa zone "252.1.168.192.in-addr.arpa" {type master; file "/etc/bind/db.192";};

2º.- cp db.empty db.hackingyseguridad

3º.- editamos fichero: db.hackingyseguridad

; BIND reverse data file for empty rfc1918 zone ; ; DO NOT EDIT THIS FILE - it is used for multiple zones. ; Instead, copy it, edit named.conf, and use that copy. ; $TTL 86400 @ IN SOA hackingyseguridad.es. admin.hackingyseguridad.es. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 86400 ) ; Negative Cache TTL @ IN NS server.hackingyseguridad.es. @ IN A 192.168.1.252 hackingyseguridad.es. IN A 192.168.1.252

4º.- cp db.127 db.192

5º.- editamos fichero: db.192

; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA hackingyseguridad.es. admin.hackingyseguridad.es. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS server.hackingyseguridad.es. 252.1.168.192.in-addr.arpa. IN PTR server.hackingyseguridad.es.

6º.- editamos fichero: named.conf.options

7º.- editamos fichero: /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4

8º.- service bind9 start

9º.- service bind9 status

10.- named

www.hackingyseguridad.com

bind9conf's People

Contributors

hackingyseguridad avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.