Cara Buat Domain local LAN di ubuntu server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Smith
Posts: 18
Joined: 09 May 2010, 19:17
Location: Indonesia
Contact:

Cara Buat Domain local LAN di ubuntu server

Postby Smith » 26 Aug 2010, 20:17

Cara Buat Domain local Di LAN di ubuntu server
Gimana yah cara buat domain local untuk LAN di ubuntu server ?
Atau ada refrensi yg membahas itu ?

Dengan topologi seperti ini gimana yah agar semua client bisa mengunakan local domain


ap1----------WIFI (hotspot)
---------------|
---------------|
---------------|
----modem----RB750(pppoe)---warnet
---------------|
---------ubuntu(squid)



Regards
User avatar
c0jack
Posts: 743
Joined: 12 Jan 2010, 10:33
Location: Jogjakarta, Indonesia
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby c0jack » 28 Aug 2010, 17:34

buat DNS server lokal untuk menangani domain lokal tersebut. untuk referensi mungkin bisa baca2 tentang BIND.


regards,
c0jack
User avatar
xopal
Posts: 5
Joined: 12 Aug 2010, 13:20
Location: surabaya
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby xopal » 31 Aug 2010, 00:32

Coba kamu install unbound dns recursive, setingannya lebih simple, performance lebih yahud dari Bind (3x lebih responsif dari Bind)

contoh unbound.conf saya.

Code: Select all

server:
         verbosity: 1
         statistics-interval: 120
         num-threads: 1
         interface: 0.0.0.0

         outgoing-range: 512
         num-queries-per-thread: 1024

         msg-cache-size: 16m
         rrset-cache-size: 32m

         msg-cache-slabs: 4
         rrset-cache-slabs: 4

         cache-max-ttl: 86400
         infra-host-ttl: 60
         infra-lame-ttl: 120
         
         infra-cache-numhosts: 10000
         infra-cache-lame-size: 10k

         do-ip4: yes
         do-ip6: no
         do-udp: yes
         do-tcp: yes
         do-daemonize: yes

         #access-control: 0.0.0.0/0 allow
         access-control: 192.168.0.0/16 allow
         access-control: 172.16.0.0/12 allow
         access-control: 10.0.0.0/8 allow
         access-control: 127.0.0.0/8 allow
         access-control: 0.0.0.0/0 refuse
     
         chroot: "/etc/unbound"
         username: "unbound"
         directory: "/etc/unbound"
         #logfile: "/etc/unbound/unbound.log"
         #use-syslog: yes
         logfile: ""
         use-syslog: no
         pidfile: "/etc/unbound/unbound.pid"
         root-hints: "/etc/unbound/named.cache"
       
        identity: "DNS"
        version: "1.4"
        hide-identity: yes
        hide-version: yes
        harden-glue: yes
        do-not-query-address: 127.0.0.1/8
        do-not-query-localhost: yes
        module-config: "iterator"


   #zone localhost
        local-zone: "localhost." static
        local-data: "localhost. 10800 IN NS localhost."
        local-data: "localhost. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
        local-data: "localhost. 10800 IN A 127.0.0.1"

        local-zone: "127.in-addr.arpa." static
        local-data: "127.in-addr.arpa. 10800 IN NS localhost."
        local-data: "127.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 2 3600 1200 604800 10800"
        local-data: "1.0.0.127.in-addr.arpa. 10800 IN PTR localhost."

   #zone myxovpn.com
        local-zone: "myxovpn.com." static
        local-data: "myxovpn.com. 86400 IN NS ns1.myxovpn.com."
        local-data: "myxovpn.com. 86400 IN SOA myxovpn.com. hostmaster.myxovpn.com.  3 3600 1200 604800 86400"
        local-data: "myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "www.myxovpn.com. 86400 IN A 172.17.20.10"
   local-data: "ubuntu.myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "mikrotik.myxovpn.com. 86400 IN A 10.5.50.1"
   local-data: "ns1.myxovpn.com. 86400 IN A 172.17.20.10"
     
        local-data: "mail.myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "myxovpn.com. 86400 IN MX 10 mail.myxovpn.com."
        local-data: "myxovpn.com. 86400 IN TXT v=spf1 a mx ~all"

          local-zone: "20.17.172.in-addr.arpa." static
          local-data: "20.17.172.in-addr.arpa. 10800 IN NS myxovpn.com."
          local-data: "20.17.172.in-addr.arpa. 10800 IN SOA myxovpn.com. hostmaster.myxovpn.com. 4 3600 1200 604800 864000"
          local-data: "10.20.17.172.in-addr.arpa. 10800 IN PTR myxovpn.com."

   forward-zone:
        name: "."
        #forward-addr: 202.134.1.10
        #forward-addr: 222.124.204.34
        #forward-addr: 202.134.0.155
   forward-addr: 180.131.144.144
        forward-addr: 180.131.145.145

remote-control:
        control-enable: yes
        control-interface: 127.0.0.1
        control-port: 953
        server-key-file: "/etc/unbound/unbound_server.key"
        server-cert-file: "/etc/unbound/unbound_server.pem"
        control-key-file: "/etc/unbound/unbound_control.key"
        control-cert-file: "/etc/unbound/unbound_control.pem"
User avatar
c0jack
Posts: 743
Joined: 12 Jan 2010, 10:33
Location: Jogjakarta, Indonesia
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby c0jack » 31 Aug 2010, 19:08

siip, bisa di coba nih unbound nya, thanks bro xopal :)


regards,
c0jack
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby MasDjo » 01 Sep 2010, 11:44

Wah...baru tahu nih, bisa dicoba :D
Ini saya nemu tutorialnya :
Tutorial Unbound di Ubuntu Lucid
Image
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby sipelaut » 01 Sep 2010, 14:15

MasDjo wrote:Wah...baru tahu nih, bisa dicoba :D
Ini saya nemu tutorialnya :
Tutorial Unbound di Ubuntu Lucid

kalo mau coba ini kira2 bind harus diremove gak brooo...
atau dibiarin aja jalan berdua bersama ...wabusetttt....
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby sipelaut » 01 Sep 2010, 14:20

upss.... ternyata harus distop dolo heeeeeeeeeee
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby MasDjo » 01 Sep 2010, 16:15

Gak usah diremove, cukup di nonaktifkan ( dg sysvconfig atau sysv-rc-conf )
Tapi kalo memang gak diperlukan ya di remove saja :)
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby zitux » 05 Oct 2010, 14:26

MasDjo wrote:Wah...baru tahu nih, bisa dicoba :D
Ini saya nemu tutorialnya :
Tutorial Unbound di Ubuntu Lucid
Image

forum mikrotik lagi perbaikan :(
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby zitux » 07 Oct 2010, 13:02

xopal wrote:Coba kamu install unbound dns recursive, setingannya lebih simple, performance lebih yahud dari Bind (3x lebih responsif dari Bind)

contoh unbound.conf saya.

Code: Select all

server:
         verbosity: 1
         statistics-interval: 120
         num-threads: 1e
         interface: 0.0.0.0

         outgoing-range: 512
         num-queries-per-thread: 1024

         msg-cache-size: 16m
         rrset-cache-size: 32m

         msg-cache-slabs: 4
         rrset-cache-slabs: 4

         cache-max-ttl: 86400
         infra-host-ttl: 60
         infra-lame-ttl: 120
         
         infra-cache-numhosts: 10000
         infra-cache-lame-size: 10k

         do-ip4: yes
         do-ip6: no
         do-udp: yes
         do-tcp: yes
         do-daemonize: yes

         #access-control: 0.0.0.0/0 allow
         access-control: 192.168.0.0/16 allow
         access-control: 172.16.0.0/12 allow
         access-control: 10.0.0.0/8 allow
         access-control: 127.0.0.0/8 allow
         access-control: 0.0.0.0/0 refuse
     
         chroot: "/etc/unbound"
         username: "unbound"
         directory: "/etc/unbound"
         #logfile: "/etc/unbound/unbound.log"
         #use-syslog: yes
         logfile: ""
         use-syslog: no
         pidfile: "/etc/unbound/unbound.pid"
         root-hints: "/etc/unbound/named.cache"
       
        identity: "DNS"
        version: "1.4"
        hide-identity: yes
        hide-version: yes
        harden-glue: yes
        do-not-query-address: 127.0.0.1/8
        do-not-query-localhost: yes
        module-config: "iterator"


   #zone localhost
        local-zone: "localhost." static
        local-data: "localhost. 10800 IN NS localhost."
        local-data: "localhost. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
        local-data: "localhost. 10800 IN A 127.0.0.1"

        local-zone: "127.in-addr.arpa." static
        local-data: "127.in-addr.arpa. 10800 IN NS localhost."
        local-data: "127.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 2 3600 1200 604800 10800"
        local-data: "1.0.0.127.in-addr.arpa. 10800 IN PTR localhost."

   #zone myxovpn.com
        local-zone: "myxovpn.com." static
        local-data: "myxovpn.com. 86400 IN NS ns1.myxovpn.com."
        local-data: "myxovpn.com. 86400 IN SOA myxovpn.com. hostmaster.myxovpn.com.  3 3600 1200 604800 86400"
        local-data: "myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "www.myxovpn.com. 86400 IN A 172.17.20.10"
   local-data: "ubuntu.myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "mikrotik.myxovpn.com. 86400 IN A 10.5.50.1"
   local-data: "ns1.myxovpn.com. 86400 IN A 172.17.20.10"
     
        local-data: "mail.myxovpn.com. 86400 IN A 172.17.20.10"
        local-data: "myxovpn.com. 86400 IN MX 10 mail.myxovpn.com."
        local-data: "myxovpn.com. 86400 IN TXT v=spf1 a mx ~all"

          local-zone: "20.17.172.in-addr.arpa." static
          local-data: "20.17.172.in-addr.arpa. 10800 IN NS myxovpn.com."
          local-data: "20.17.172.in-addr.arpa. 10800 IN SOA myxovpn.com. hostmaster.myxovpn.com. 4 3600 1200 604800 864000"
          local-data: "10.20.17.172.in-addr.arpa. 10800 IN PTR myxovpn.com."

   forward-zone:
        name: "."
        #forward-addr: 202.134.1.10
        #forward-addr: 222.124.204.34
        #forward-addr: 202.134.0.155
   forward-addr: 180.131.144.144
        forward-addr: 180.131.145.145

remote-control:
        control-enable: yes
        control-interface: 127.0.0.1
        control-port: 953
        server-key-file: "/etc/unbound/unbound_server.key"
        server-cert-file: "/etc/unbound/unbound_server.pem"
        control-key-file: "/etc/unbound/unbound_control.key"
        control-cert-file: "/etc/unbound/unbound_control.pem"


sepertinya mudah ya
bisa dijelaskan untuk fungsi masing2 unbound.conf ?
atau hanya copas semua beres ??
tq
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby zitux » 20 Oct 2010, 21:39

Image


kasus belum selesi :grin:
User avatar
mrjepara
Posts: 2
Joined: 06 Oct 2010, 22:40
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby mrjepara » 24 Nov 2010, 23:04

Newbie numpang nanya gan.

1. ada IP 172.17.20.10 trus 127.0.0.1 trus 10.5.50.1 itu IP dari mana gan? mungkin bisa diberi sedikit topologi nya?
2. Bagaimana caranya membuat graph untuk unboundnya?

Atas jawabannya, diucapkan matur tengkyu
User avatar
Rh354
Posts: 718
Joined: 14 Mar 2010, 19:56
Location: between the truth and the lies
Contact:

Re: Cara Buat Domain local LAN di ubuntu server

Postby Rh354 » 27 Nov 2010, 21:52

menyimak dl :D
User avatar
deen
Posts: 2
Joined: 12 Aug 2011, 20:23

DNS server

Postby deen » 12 Aug 2011, 20:29

Dear para ubuntu'ers

Saya mau tanya gimana gmana sih membuat DNS server menggunakan linux...selama ni saya selalu menggunakan winxxxs...karna nantinya saya ingin membangun DNS server menggunakan linux sebagai NS di kantor saya...selama ini menggunakan DNS provider..

thanks...
deen
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: DNS server

Postby sipelaut » 13 Aug 2011, 20:36

saya kasih link aja ya mas bro..
sori bisanya cuman ngasih link, ini pun hasil [color:#FF0000][size:17pt]googling[/size][/color]
[0] http://brightstarblogs.wordpress.com/20 ... on-ubuntu/
[1] http://belajarlinux.com/2009/07/membang ... sederhana/
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: DNS server

Postby blackshirt » 15 Aug 2011, 10:17

bind dns server ada di repository, termasuk juga dokumentasinya juga sudah ada :grin:
User avatar
zarkasichan
Posts: 1527
Joined: 01 Jan 2010, 01:57
Location: Samarinda, Indonesia
Contact:

Re: DNS server

Postby zarkasichan » 21 Aug 2011, 00:56

ngikut nyimak bro., ane juga lagi perlu buat DNS Server :D ting kyu...

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 2 guests