nslookup doesn't work as it should on fresh install

Asked by Vitalii Sharapov

Hello. Sorry for disturb, may I ask you please to confirm if im not doing anything wrong with new installation?
Its being a while since the problem exists AT LEAST IN MY CASE with "faulty path" for symlinc at resolv.conf
I believe its keep happening since 18.04 version and even now in 22.04
So, in the fresh install the path looks like this:
lrwxrwxrwx 1 root root 39 Feb 17 2023 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

but once im running :
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

everything works fine. By everything I mean when I run nslookup.

Regards,

Vitalii Sharapov

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-docs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Vitalii Sharapov (vsharapov) said (last edit ):
#2

Created a Bug #2043234

Can you help with this problem?

Provide an answer of your own, or ask Vitalii Sharapov for more information if necessary.

To post a message you must log in.