On Wed, 2010-02-10 at 17:00 +0700, A r y a S e t a wrote:
> Dear All,
> 
> Sesuai dengan subject email diatas, bagaimana caranya agar dhcp
> langsung meng-assign dns server di client.
> Soalnya yg terjadi, ip nya dapet tapi dns nya musti masukin manual.
> 
> Note : OS Linux Slackware dan DNS yang dipakai adalah DNS ISP.
> 
> 
> Terima kasih,
> 
> 
> Konfigurasi dhcp nya :
> 
> # cat /etc/dhcpd.conf
> 
> # dhcpd.conf
> ddns-update-style none;
> 
> # option definitions common to all supported networks...
> option domain-name "contoh.co.id";
> option domain-name-servers xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy ;
> 
> default-lease-time 600;
> max-lease-time 7200;
> 
> # Use this to send dhcp log messages to a different log file (you also
> # have to hack syslog.conf to complete the redirection).
> log-facility local7;
> 
> # A slightly different configuration for an internal subnet.
> subnet 192.168.1.0 netmask 255.255.255.0 {
>   option domain-name "contoh.co.id";
>   option broadcast-address 192.168.1.254;
>   option domain-name-servers contoh.co.id;
>   option subnet-mask 255.255.255.0;
>   option routers 192.168.1.1;
>   range 192.168.1.10 192.168.1.20;
>   default-lease-time 600;
>   max-lease-time 7200;
> }
> 

Tambahkan ini

option domain-name-servers 10.0.0.2, 10.0.0.3; # ganti sesuai DNS anda

Nyoman

Attachment: signature.asc
Description: This is a digitally signed message part

Kirim email ke