Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

First off all, I want to say that I'm not new to Ubuntu, and I primarily use it as a gateway server. I have Ubuntu 12.04 LTS server without a GUI.

These days after a big storm, I had a power outage. When the power came back, everything was OK, until I spotted the problem.

root@ubuntu:~# uname -a
Linux ubuntu 3.2.0-49-generic-pae #75-Ubuntu SMP Tue Jun 18 18:00:21 UTC 2013 i686 i686 i386 GNU/Linux

This is the problem:

root@ubuntu:~# nslookup

root@ubuntu:~# nslookup

root@ubuntu:~# nslookup

The problem is that even the PHP functions file_get_contents or gethostbyname are not working, and they give me the same IP class on query.

Other effects:

root@ubuntu:~# ping
PING ( 56(84) bytes of data.
--- ping statistics ---
23 packets transmitted, 0 received, 100% packet loss, time 22173ms  

root@ubuntu:~# apt-get update
[Connecting to (] 
[Connecting to (] 
[Connecting to (] 
[Connecting to (
W: Failed to fetch  
Unable to connect to
E: Some index files failed to download. They have been ignored, or old ones used instead.

My network configuration is like this:

internet--adsl router--ubuntu gw--switch lan/wifi--computers  

adsl router has a pppoe connection with the provider and it has the ip

Ubuntu has the following output from running ifconfig and route -n:

root@ubuntu:~# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:10:b5:f9:d4:76
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::210:b5ff:fef9:d476/64 Scope:Link
          RX packets:540782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327646 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:731616835 (731.6 MB)  TX bytes:26098933 (26.0 MB)
          Interrupt:17 Base address:0x3000**

eth1      Link encap:Ethernet  HWaddr 00:e0:4c:3a:5d:a2
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::2e0:4cff:fe3a:5da2/64 Scope:Link
          RX packets:313887 errors:0 dropped:0 overruns:0 frame:0
          TX packets:526813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25127774 (25.1 MB)  TX bytes:730199162 (730.1 MB)
          Interrupt:18 Base address:0x3400**

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:728 errors:0 dropped:0 overruns:0 frame:0
          TX packets:728 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:41363 (41.3 KB)  TX bytes:41363 (41.3 KB)

root@ubuntu:~# route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    100    0        0 eth0   U     0      0        0 eth1   U     0      0        0 eth0

Needless to say that in my LAN all is going well, for example:

Pinging [] with 32 bytes of data:
Reply from bytes=32 time=27ms TTL=53
Reply from bytes=32 time=25ms TTL=53
Reply from bytes=32 time=28ms TTL=53
Reply from bytes=32 time=24ms TTL=53
Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 24ms, Maximum = 28ms, Average = 26ms

So this is the problem. It may be from the last update taken 2-3 days back, and I spotted the problem only after the power outage, or it may be from the power outage, even though I doubt it, because with ext4 and jbd2 I feel somewhat protected against data loss.

Thank you for your answers. I will try to post asap if you have any more questions.

share|improve this question

2 Answers 2

You don't happen to be behind a Technicolor router?,134916.msg1181609.html#msg1181609

The 582n has a "DNS spoof list" which is its way of caching DNS failures, by converting them into 198.18 addresses. Madness, but I've just seen it on my own connection.

These are reserved addresses:

NetRange: -
NetHandle:      NET-198-18-0-0-1
Parent:         NET198 (NET-198-0-0-0-0)
NetType:        IANA Special Use
Organization:   Internet Assigned Numbers Authority (IANA)
RegDate:        1992-11-23
Updated:        2013-08-30
Comment:        Addresses starting with "198.18." or "198.19." are set aside for use in isolated laboratory networks used for benchmarking and performance testing.  They should never appear on the Internet and if you see Internet traffic using these addresses, they are being used without permission.
Comment:        This assignment was made by the IETF, the organization that develops Internet protocols, in RFC 2544, which can be found at:
share|improve this answer

After the problem persisted, and no answer from the askubuntu comunity, today i have maked a little time to try to fix the problem....

I have recreated all the bind configurations, at no effect, well some effect yes, but no one to repair the error ....

At the end it has been clear that the problem is in bind... so i have find the error in the end:

the file is


i edited and in him i have found that i have:

# run resolvconf?

# startup options for the server
OPTIONS="-u bind"

edited so i could have:


and now all it's going as expected from the server...

p.s. if someone know how could from a power loss to have an effect like this, be my quest :). And if you look in that file, could you tell me what is the default value you are having? Thank you

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.