A
A
Andrey2019-07-25 02:47:08
Domain Name System
Andrey, 2019-07-25 02:47:08

Why doesn't Ubuntu ping machines in the domain?

Good afternoon.
There is a freshly configured squid on Ubuntu 18.04. Everything is great, everything works except for the pages within the network. I immediately tried to ping these hosts by name, and in response I see:

spoiler
[email protected]:/home/andrey# ping exvlkdc01
ping: exvlkdc01: Temporary failure in name resolution
===
[email protected]:/home/andrey# nslookup 192.168.13.2
2.13.168.192.in-addr.arpa name = exvlkdc01.expoles.local.
Authoritative answers can be found from:
===
[email protected]:/home/andrey# nslookup exvlkdc01.expoles.local
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find exvlkdc01.expoles.local: SERVFAIL
===
[email protected]:/home/andrey# ping 192.168.13.2
PING 192.168.13.2 (192.168.13.2) 56(84) bytes of data.
64 bytes from 192.168.13.2: icmp_seq=1 ttl=128 time=0.452 ms
64 bytes from 192.168.13.2: icmp_seq=2 ttl=128 time=0.234 ms
64 bytes from 192.168.13.2: icmp_seq=3 ttl=128 time=0.242 ms
^C
--- 192.168.13.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2040ms
rtt min/avg/max/mdev = 0.234/0.309/0.452/0.101 ms

[email protected]:/home/andrey# nano /etc/netplan/*.yaml
spoiler
network:
ethernets:
eth0:
addresses:
- 192.168.13.234/24
gateway4: 192.168.13.1
nameservers:
addresses:
- 192.168.13.2
- 8.8.8.8
version: 2

[email protected]:/home/andrey# nano /etc/hosts
spoiler

127.0.0.1 localhost
127.0.1.1 srv-squid.expoles.local srv-squid
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

From the domain this machine too does not respond by name.
Tell me what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2019-07-25
@Andreyussur

On 18.04 DNS is configured here: /etc/systemd/resolved.conf. At least it helped me to enter Ubuntu into MS AD.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question