Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

DNS local resolv error

Post Reply
User avatar
synack
Forum Novice
Forum  Novice
Posts: 1
Joined: Fri Apr 12, 2019 10:10 am

DNS local resolv error

#1

Post by synack » Fri Apr 12, 2019 10:16 am

Hi,

Cant access local dns names using a privet DNS server that resolves internals and forward external DNS. External DNS is resolved.
This just happens with MX linux, other linux distros resolv internal and external DNS.
Making a dig query it works.

synack@orion:/
$ sudo cat /etc/resolv.conf
[sudo] password for synack:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.191.191.191

# Internal DNS
synack@orion:/
$ ping swallot01.ritta.local
ping: swallot01.ritta.local: Name or service not known

synack@orion:/
$ dig swallot01.ritta.local ANY

; <<>> DiG 9.10.3-P4-Debian <<>> swallot01.ritta.local ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32260
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;swallot01.ritta.local. IN ANY

;; ANSWER SECTION:
swallot01.ritta.local. 1200 IN A 10.191.39.178

;; Query time: 1 msec
;; SERVER: 10.191.191.191#53(10.191.191.191)
;; WHEN: Fri Apr 12 15:15:46 WEST 2019
;; MSG SIZE rcvd: 66

# External DNS
synack@orion:/
$ ping www.google.com
PING www.google.com (172.217.16.228) 56(84) bytes of data.
64 bytes from mad08s04-in-f4.1e100.net (172.217.16.228): icmp_seq=1 ttl=52 time=10.3 ms
64 bytes from mad08s04-in-f4.1e100.net (172.217.16.228): icmp_seq=2 ttl=52 time=10.2 ms
^V64 bytes from mad08s04-in-f4.1e100.net (172.217.16.228): icmp_seq=3 ttl=52 time=12.9 ms

Post Reply

Return to “General”