Hello,
I just made a reboot on my server and now DNS doesn’t seem to be working, I’ve googled to see if I could find some answers but nothing has helped so far, So I hope there is a friendly person here that can help me.
ifconfig -a
eth0 Link encap:Ethernet HWaddr c2:a8:d0:bf:9d:b7
inet addr:165.227.170.*** Bcast:165.227.175.255 Mask:255.255.240.0
inet6 addr: 2a03:b0c0:3:d0::18:a001/64 Scope:Global
inet6 addr: fe80::c0a8:d0ff:febf:9db7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1652 errors:0 dropped:0 overruns:0 frame:0
TX packets:1213 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:922350 (922.3 KB) TX bytes:252376 (252.3 KB)
eth1 Link encap:Ethernet HWaddr 46:49:b6:ad:ce:f0
inet addr:10.135.7.*** Bcast:10.135.255.255 Mask:255.255.0.0
inet6 addr: fe80::4449:b6ff:fead:cef0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:12110 errors:0 dropped:0 overruns:0 frame:0
TX packets:12110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:912214 (912.2 KB) TX bytes:912214 (912.2 KB)
If there is other info needed, let me know and I’ll post it.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
/etc/resolv.conf is empty
/etc/network/interfaces.d/50-cloud-init.cfg:
auto lo
iface lo inet loopback
dns-nameservers 8.8.8.8 8.8.4.4
auto eth0
iface eth0 inet static
address 165.227.170.***
gateway 165.227.160.1
netmask 255.255.240.0
# control-alias eth0
iface eth0 inet6 static
address 2A03:B0C0:0003:00D0:0000:0000:0018:A001/64
gateway 2A03:B0C0:0003:00D0:0000:0000:0000:0001
# control-alias eth0
iface eth0 inet static
address 10.19.0.7
netmask 255.255.0.0
auto eth1
iface eth1 inet static
address 10.135.7.***
netmask 255.255.0.0
/etc/network/interfaces:
auto lo
iface lo inet loopback
source /etc/network/interfaces.d/*
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.