membuat /etc/resolv.conf permanent

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

membuat /etc/resolv.conf permanent

Postby sipelaut » 24 Jul 2012, 08:22

salam
sesuai dengan judulnya
ada yang tau caranya gak, bikin file terebut immutable (tidak bisa berubah meskipun di restart)
cafeeekkkk nichhh... musti ngedit file tersebut klo server di restart wassalam
User avatar
ilham2930
Posts: 1123
Joined: 02 Jan 2010, 19:30
Location: /indonesia/tangerang/bonank_city
Contact:

Re: membuat /etc/resolv.conf permanent

Postby ilham2930 » 24 Jul 2012, 11:29

setuju sama om black, pake cara ke-3 lebih gampang..
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: membuat /etc/resolv.conf permanent

Postby yudiarbi » 25 Jul 2012, 03:02

itu ubuntu server kan?
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: membuat /etc/resolv.conf permanent

Postby sipelaut » 25 Jul 2012, 08:11

yup mas ubuntu server..
oke makasih ane baca dulu tutornya
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: membuat /etc/resolv.conf permanent

Postby yudiarbi » 25 Jul 2012, 08:41

kl modemnya bridge, pas dial dipilih no ketika pilihan "use peer dns"
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: membuat /etc/resolv.conf permanent

Postby sipelaut » 25 Jul 2012, 10:46

saya bikin DNS lokal sendiri mas.
oke makasih masbro.. saya coba lagi
yang tutornya lom dicoba cos hari ini inet rame bangett keknya nya
User avatar
mus_theleader
Posts: 64
Joined: 12 Dec 2011, 18:25
Location: Purwokerto, Indonesia
Contact:

Re: membuat /etc/resolv.conf permanent

Postby mus_theleader » 01 Aug 2012, 07:37

bisa juga dengan cara :

Code: Select all

ubuntu-server# echo "nameserver x.x.x.x nameserver x.x.x.x" > /etc/resolv.conf
ubuntu-server# nano /etc/rc.local
[b]echo "nameserver x.x.x.x nameserver x.x.x.x" > /etc/resolv.conf
exit 0[/b]
User avatar
mus_theleader
Posts: 64
Joined: 12 Dec 2011, 18:25
Location: Purwokerto, Indonesia
Contact:

Re: membuat /etc/resolv.conf permanent

Postby mus_theleader » 01 Aug 2012, 07:37

bisa juga dengan cara :

Code: Select all

ubuntu-server# echo "nameserver x.x.x.x nameserver x.x.x.x" > /etc/resolv.conf
ubuntu-server# nano /etc/rc.local
[b]echo "nameserver x.x.x.x nameserver x.x.x.x" > /etc/resolv.conf
exit 0[/b]
User avatar
rizaaal
Posts: 1212
Joined: 01 May 2011, 16:02
Location: Bekasi, Indonesia
Contact:

Re: membuat /etc/resolv.conf permanent

Postby rizaaal » 02 Aug 2012, 19:48

kalo saya sih tinggal tambahin baris ini di /etc/network/interfaces :

dns-nameservers ipdns1 ipdns2

misal :

dns-nameservers 8.8.8.8 8.8.4.4

CMIIW :)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: membuat /etc/resolv.conf permanent

Postby q_p » 14 Oct 2012, 22:28

@sipelaut : betul yang disarankan mas yudiarbi. Jalankan ulang pppoeconf, pada langkah ke-6 (USE PEER DNS) pilih karena anda menggunakan DNS lokal.

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 4 guests