Article View: linux.debian.user
Article #284Re: DNS Resolution fails
From: basti
Date: Fri, 23 Oct 2026 20:40
Date: Fri, 23 Oct 2026 20:40
138 lines
7373 bytes
7373 bytes
Hello,
you get a address from 172.18.234.0/24 on eno1np0.
What is the nameserver you get via DHCP without edit /etc/resolv.conf ?
Is the nameserver in your network 172.18.234.0/24 ?
If not is there route to that network? ("ip r")
What is your gateway? ("ip r" the line with default ...)
Can you reach the gateway?
Does it work without DNS? ping 8.8.8.8 for example?
Last but not leased is dns in the host line of /etc/nsswitch.conf like
hosts: files dns
Am 23.10.26 um 19:59 schrieb fc26wuqa@studserv.uni-leipzig.de:
> hello,
> I meant that it was a NAT Server before, like in network address
> translation for VM lying under it.
> I am not sure, what they are connected to - internet to the "outside
> world" worked previously, but I did not set that up, and the server does
> not exists anymore.
>
> ip addr show shows:
>
> 1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host noprefixroute
> valid_lft forever preferred_lft forever
> 2: eno1np0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
> default qlen 1000
> link/ether 3d:bc:ef:44:14:42 brd ff:ff:ff:ff:ff:ff
> 3: eno2np1 <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc mq state
> UP group default qlen 1000
> link/ether 3d:bc:ef:44:14:40 brd ff:ff:ff:ff:ff:ff
> inet 172.18.234.50 brd 172.18.234.255 scope global eno1np1
> valid_lft forever preferred_lft forever
> inet6 `someaddress its blue on black and its kinda dark, so that i
> can't type it`
> valid_lft forever preferred_lft forever
>
> When I do dhcpcd on the networks, the addresses become the address from
> link-local 1
> 65.254.0.0/16.
>
> I can't ping my nameserver, nor can I ping googles nameserver.
> It says Destination Host unreachable.
>
> dhclient isnt installed on the Debian CD. Does it make a difference when
> I download the Debian DVD?
>
> The 123 IP Addresses were made up.
>
> Best,
> Lucienne
>
> But I tried edited /etc/resolv.conf manually and adding the nameserver.
> Zitat von tomas@tuxteam.de:
>
>> On Fri, Oct 23, 2026 at 05:16:26PM +0200, fc26wuqa@studserv.uni-
>> leipzig.de wrote:
>>> Hello,
>>
>> hello
>>
>>> I "inherited" a nat server which wouldnt boot.
>>
>> Actually not that relevant, see below, but you mean a NAS
>> server (NAS == "network attached storage")?
>>
>>> I installed a fresh debian on it, but I can't figure out to set up an
>>> ethernet connection.
>>
>> The above question not that relevant, because it now is
>> a Debian box :-)
>>
>>> I'm still figuring things out, but here is my knowledge so far:
>>> There are two interfaces eno2np1 and eno1np0.
>>
>> Those look like Ethernet. Are they connected to something?
>>
>> What does "ip addr show" say?
>>
>>> I set the my /etc/hosts, domain name and /etc/network/interfaces as
>>> before:
>>> Say the address is 123.123.123.123 with a gateway of 123.123.134.254
>>> and a
>>> nameserver somewhere else: 123.123.100.100.
>>
>> Are those IP addresses for real, or are you keeping back the "real" ones
>> for privacy reasons? (That would be *perfectly fine*, but we might come
>> up with more intelligent ideas when we know that this is the case).
>>
>>> I don't have full access to the network, someone just gave this ip
>>> address
>>> to the server.
>>
>> Can you ping your name server? If not: how do the error messages look?
>>
>>> I tried doing dhcpcd on both networks, and it works, but it gives me
>>> some
>>> random address like 165.255.255.3.
>>
>> Aha. That answers (partially) some of the questions above. There is a
>> net "out there" (what you mean with "both networks". And: you are doing
>> "dhcpd" or rather "dhclient"? (the second command is to request an IP
>> address -- and possibly other network config, like DNS, etc. -- from
>> a running DHCP server (for example dhcpd) out there.
>>
>>> And ping says the temporar failure in name resolution.
>>> I also can't ping any nameserver, not 8.8.8.8, not 123.123.100.100.
>>
>> Assuming you actually did "dhclient" above: what is in your /etc/
>> resolv.conf
>> after this step? (again, it is OK to hide your "real" IP addresses, but
>> then you better choose a consistent renaming, so we can make intelligent
>> guesses :-)
>>
>>> Could the issue be, that I have to change my MAC address, because it
>>> will be
>>> blocked somehow if its not the original?
>>
>> That depends on the network your box lives in. Some do restrict the MAC
>> addresses allowed to connect to ports (this will be typical in a bigger
>> corporate or uni network). This is intended to enhance security. Ask your
>> sysadmins.
>>
>>> Physical access to the server is difficult at the moment.
>>
>> That makes things ever more interesting :-)
>>
>> Cheers & good luck
>> --
>> tomás
>
Technical Details
Message-ID:
<NRuds-7sI3-59@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NRpnr-7pXh-7@gated-at.bofh.it> <NRr5T-7qYS-11@gated-at.bofh.it> <NRrSh-7roH-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: basti <mailinglist@unix-solution.de> Newsgroups: linux.debian.user Subject: Re: DNS Resolution fails Date: Fri, 23 Oct 2026 22:40:02 +0200 Message-ID: <NRuds-7sI3-59@gated-at.bofh.it> References: <NRpnr-7pXh-7@gated-at.bofh.it> <NRr5T-7qYS-11@gated-at.bofh.it> <NRrSh-7roH-5@gated-at.bofh.it> X-Mailbox-Line: From debian-user-request@lists.debian.org Fri Oct 23 20:39:46 2026 Old-Return-Path: <mailinglist@unix-solution.de> X-Amavis-Spam-Status: No, score=-2.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Greylist: delayed 1761 seconds by postgrey-1.37 at bendel; Fri, 23 Oct 2026 20:39:36 UTC Authentication-Results: ikarus.unix-solution.de; iprev=pass (dynamic-2a02-3100-2f6e-be01-c3f3-4274-309b-662c.310.pool.telefonica.de) smtp.remote-ip=2a02:3100:2f6e:be01:c3f3:4274:309b:662c; auth=pass (LOGIN) smtp.auth=basti@unix-solution.de; spf=softfail smtp.mailfrom=unix-solution.de MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Acl-Warn: Max 0 failed recipients allowed X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832597 List-ID: <debian-user.lists.debian.org> List-URL: <https://lists.debian.org/debian-user/> List-Archive: https://lists.debian.org/msgid-search/6d03056d-7f6d-49a4-be86-dbcb40556e88@unix-solution.de Approved: robomod@news.nic.it Lines: 138 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Oct 2026 22:10:08 +0200 X-Original-Message-ID: <6d03056d-7f6d-49a4-be86-dbcb40556e88@unix-solution.de> X-Original-References: <20261023171626.Horde.l538b_Z1iQpxLx9SHZ3hKqQ@mail.uni-leipzig.de> <atuWYaBCeHQglit6@tuxteam.de> <20261023195945.Horde.qa9twbRTN8OGeJWzzwUSkMR@mail.uni-leipzig.de>