ganti ip tidak bisa internet [centos7]

Discussion in 'Masalah Teknik dan Keamanan' started by alvingiovanno, 27 Jan 2016.

Thread Status:
Not open for further replies.
  1. alvingiovanno

    alvingiovanno Apprentice 2.0

    Messages:
    516
    Likes Received:
    26
    Trophy Points:
    28
    hi,

    mau tanya,saya baru ganti IP namun sekarang ada masalah servernya bisa di ping. namun domain tidak mau resolve, dan dari console juga tidak bisa ping domain seperti google.com dan lain lain.
    udah google katanya DNS di resolv.conf sudah berkali kali di ganti tidak mau juga.

    182.16.245.6*9

    thanks
     
  2. RumahRandi

    RumahRandi Apprentice 1.0

    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    udah di restart service nya pak ? kl belum bisa, coba restart server..
     
  3. cyberhostservice

    cyberhostservice Expert 1.0

    Messages:
    652
    Likes Received:
    128
    Trophy Points:
    43
    Coba reboot saja bro
     
  4. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,227
    Likes Received:
    514
    Trophy Points:
    113
    coba di paste config DNS nya
     
  5. alvingiovanno

    alvingiovanno Apprentice 2.0

    Messages:
    516
    Likes Received:
    26
    Trophy Points:
    28
    untuk reboot sudah ratusan kali.

    root@galvatron [~]# cat /etc/resolv.conf
    nameserver 127.0.0.1
    nameserver 8.8.8.8
    search rootserver.co.id
    root@galvatron [~]# cat /etc/sysconfig/network-scripts/ifcfg-eno2
    TYPE="Ethernet"
    BOOTPROTO="none"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL=yes
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    NAME="eno2"
    UUID="f02aa96e-d623-4b10-9b1a-42a6025fa6a1"
    DEVICE="eno2"
    ONBOOT="yes"
    DNS1=127.0.0.1
    DNS2=8.8.8.8
    DNS=64.6.64.6
    DOMAIN=rootserver.co.id
    IPADDR=182.16.245.69
    PREFIX=24
    GATEWAY=182.16.245.65
    IPV6_PEERDNS=yes
    IPV6_PEERROUTES=yes
    IPV6_PRIVACY=no

     
  6. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,227
    Likes Received:
    514
    Trophy Points:
    113
    hafizh@hafizh:~$ nslookup rootserver.co.id
    Server: 127.0.1.1
    Address: 127.0.1.1#53

    Non-authoritative answer:
    Name: rootserver.co.id
    Address: 182.16.245.69

    hafizh@hafizh:~$ ping 182.16.245.69
    PING 182.16.245.69 (182.16.245.69) 56(84) bytes of data.
    64 bytes from 182.16.245.69: icmp_seq=1 ttl=55 time=67.6 ms
    64 bytes from 182.16.245.69: icmp_seq=2 ttl=55 time=75.4 ms
    ^C
    --- 182.16.245.69 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1001ms
    rtt min/avg/max/mdev = 67.604/71.527/75.451/3.932 ms
    hafizh@hafizh:~$

    resolf.conf isi nameserver 8.8.8.8 dan nameserver 8.8.4.4 saja
    yang lainhapusin

    zone rootserver.co.id gimana isinya? named.conf nya?
    pste hasil dari :
    service named restart
    tail -n 25 /var/log/message
     
  7. alvingiovanno

    alvingiovanno Apprentice 2.0

    Messages:
    516
    Likes Received:
    26
    Trophy Points:
    28
    root@galvatron [~]# service named restart
    Redirecting to /bin/systemctl restart named.service
    root@galvatron [~]#

    root@galvatron [~]# tail -n 25 /var/log/messages
    Jan 25 03:17:02 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="683" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
    Jan 26 14:48:00 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="683" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 26 16:33:40 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="681" x-info="http://www.rsyslog.com"] start
    Jan 26 16:33:41 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    Jan 26 17:09:38 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="681" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 26 17:12:00 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="682" x-info="http://www.rsyslog.com"] start
    Jan 26 17:12:00 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    Jan 26 17:24:03 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="682" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 26 17:26:25 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="682" x-info="http://www.rsyslog.com"] start
    Jan 26 17:26:25 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    Jan 26 17:46:22 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="682" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 26 17:48:50 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="680" x-info="http://www.rsyslog.com"] start
    Jan 26 17:48:50 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    Jan 27 13:20:53 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="680" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 27 13:23:51 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="676" x-info="http://www.rsyslog.com"] start
    Jan 27 13:23:51 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    Jan 27 17:59:12 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="676" x-info="http://www.rsyslog.com"] exiting on signal 15.
    Jan 27 18:01:36 galvatron rsyslogd: [origin software="rsyslogd" swVersion="7.4.7 " x-pid="677" x-info="http://www.rsyslog.com"] start
    Jan 27 18:01:36 galvatron rsyslogd-2027: imjournal: fscanf on state file `/var/l ib/rsyslog/imjournal.state' failed
    [try http://www.rsyslog.com/e/2027 ]
    root@galvatron [~]#
     
  8. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,227
    Likes Received:
    514
    Trophy Points:
    113
    zone domain nya nang endi mas?
    diatas saya minta isi zone nya sama named .conf kalau bisa ;)

    itu syslog kok gak ada log bind ya


    kalau tail -n 100 /var/log/messages |grep zone ada hasil?
    kalau boleh itu zone dns sama named.conf nya juga di paste, karena kalau cuma informasi diatas ga cukup baut troubleshoting :)
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...