Jump to content
Sign in to follow this  
game-game

Dhcp Server Dalam Freebsd

Recommended Posts

ooo..aku dah paham.. sh make-localhost ble takde named.conf, so ble dah ade, takyah run mende tu.. ceh.. miss satu ayat je.. hmm..aku dah config dah.. dah tukar ip kat listen-on... so next step? reboot ke? camne nak pastikan client dapat dns yang same ngan gateway pc router ni?

Share this post


Link to post
Share on other sites

Jangan lupa kat /etc/resolv.conf, masukkan ip 192.168.0.1

Lepas tu start named. try dig @192.168.0.1 yahoo.com

Edit dhcpd configuration, masukkan dns 192.168.0.1 supaya client punya dns configuration jadi 192.168.0.1

Edited by mchammer

Share this post


Link to post
Share on other sites

dekat resolve tu, nak overwrite ke tak? yang asal nak buang ke? before ni aku letak nameserver dns lab aku..

hmm. dig ni tak berkesan r.. ade error.. ni output die..

;<<>>DiG 9.3.4-P1 <<>> @192.168.0.1 yahoo.com

; (1 server found)

;; global options: printcmd

;; connection timed out; no servers could be reached

skrang ni aku tgh testing dhcp plak..yang dns tu ganti kat option name servers ke?

Edited by gamekiller

Share this post


Link to post
Share on other sites

Cuba paste /etc/resolv.conf

skrang ni aku tgh testing dhcp plak..yang dns tu ganti kat option name servers ke?

Yup. Kalu tak pasti paste configuration

Edited by mchammer

Share this post


Link to post
Share on other sites

Ok.

Tapi apsal command dig tu tak berfungis?

dig @192.168.0.1 yahoo.com

maksudnye resolve yahoo.com guna 192.168.0.1 sebagai resolver.

named dah start belum? ada error tak dalam log file?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...