I need help Cred Forums

I need help Cred Forums
Why does the Pi-hole server itself can't find google?

I honestly have no idea.
But you may find an answer on Cred Forums.

I'll do that, maybe later

Have you tried pinging directly to google's IPs?

>8.8.8.8

This was the result

ping on Windows

The Pihole's IP is 192.168.1.6. Set up as static.
Also It is not showing on the router's DHCP client table.

Well duh, if it's static it wouldn't show up in the DHCP = Dynamic Host Config Protocol

...

Can the device ping anything outside of devices connected to your LAN?

I installed this an old PC for I am planning to set-up a Raspberry Pi as Adblocker and low cost torrent client

Yes

192.168.1.8 sounds like an IP on your LAN to me. Try pinging to 4.2.2.2, 4.2.2.3 and 4.2.2.4 those are public DNS servers.

Ow

Try nslookup, it'll be interactive

type: server 8.8.4.4

Then type the domains you want the actual ip's of. I'll keep looking for other answers.

Here's example output:

nslookup

> server 8.8.4.4
Default Server: google-public-dns-b.google.com
Address: 8.8.4.4

> www.facebook.com
Server: google-public-dns-b.google.com
Address: 8.8.4.4

Non-authoritative answer:
Name: star-mini.c10r.facebook.com
Addresses: 2a03:2880:f11c:83:face:b00c:0:25de
31.13.93.36
Aliases: www.facebook.com

> www.google.com
Server: google-public-dns-b.google.com
Address: 8.8.4.4

Non-authoritative answer:
Name: www.google.com
Addresses: 2a00:1450:400e:805::2004
74.125.143.103
74.125.143.106
74.125.143.99
74.125.143.147
74.125.143.104
74.125.143.105

have you plugged in the network cable?

He has to have it plugged in to ping. He successfully pinged from 192.168.1.6 to 192.168.1.8 after all. Unless he's on WAN. But connected he is for sure.

Also here's some things to try:
1) Make sure local host is configured correctly
2) Check the default gateway
3) Disable Firewall and check for the issue
4) Refresh routing table information and ping again

Yes. Server is up and running.
You can see i can access the Web Interface on my Desktop PC.

forgot pic

If dns isn't configured, you need to manually enter googles IP

right, missed that

is the switch/router connected to the internet though?
probably it is
try reconfigure youre DNS config

post the result of ifconfig
maybe also your router fucks up with some permissions?

I'm.... starting to get more and more convinced you don't know a great deal about the things you're trying to do.

>You can see i can access the Web Interface on my Desktop PC.

You do realise you can open a web browser without an internet connection right?
You also realise you can open any web pages connected to your LAN without an internet connection right?

Given that you're on Cred Forums, you must have an internet connection anyway, but the fact that you can open a browser is no indication of having an internet connection.

I think he was asking if I plugged the network cable of the PI-hole Server

...

Are any of those services configured to be a dns server?

Devices*

...

1st DNS is the Pi-hole
2nd and 3rd is OpenDNS

use dhcpcd and obtain a public ip from your router

Did you try pinging the other two as well?

I'll try my best to explain what I am doing. (I am not that good at English)

I set up Pi-hole on an old PC running Ubuntu 16.04.

Pi-hole is up and running, blocking ads network wide.

I remotely access the Pi Server on a Windows PC.

I was planning to install VNC on Ubuntu, but when i run "apt-get update" it failed.

That is when i found out that the Pi Server has no internet connection.

This might sound retarded but maybe check the ports? I'm kinda running low on paths to potential solutions.

so why is your DNS your pi-IP? Shouldn't it be the router-IP? correct me if i mix up things here.

Your IP and route configurations look good.

Check your DNS, do a

cat /etc/resolv.conf

...

Oh well

Correct - DNS should not be itself - change the first IP to be the router

This is the router's DHCP configuration page
I set the first DNS to the Pi's IP and if the Pi Server is not running it will automatically switch to OpenDNS

I mean DNS Config page

Ping your gateway. Post results.

Nm missed that post. Seems DNS is not working from what I can tell.

DNS (Pi-hole Server) is working. It successfully blocks ads. Pic Related

The problem is that the DNS Server (Pi-hole) machine does not have internet connectivity.

ok.

I know it is normally only relevant for wireless, but is there any MAC filtering set up on the router?

I have not set up any MAC filtering on the router.

Only DNS and this

i mean this