Questions tagged [host-name-resolution]

This tag must be used for generic questions pertaining to host name resolution which involves several mechanisms like the local hosts file, DNS and NIS (Yellow Pages). If your question is specific to one of those mechanisms, use the appropriate tag instead.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Why does systemd-resolvd fail to transparently query its upstream DNS resolver for short hostnames?

I use dnsmasq to provide DHCP service on my LAN. dnsmasq is also providing DNS service. When host foo acquires a an IP address via DHCP, dnsmasq will respond to DNS queries for the name foo by ...
user avatar
  • 1,226
2 votes
1 answer
27 views

What is meant by "OS resolver libraries" that are used by the "dig" command?

I know that dig queries the DNS server in the /etc/resolv.conf but I read that the difference between dig and nslookup is that dig uses OS resolver libraries. But what are the OS resolver libraries?
user avatar
1 vote
1 answer
73 views

Change priority of mdns4 hostname resolution

We are using a Raspberry Pi which has a Lidar connected to the ethernet port. The problem is that the mdns4_minimal resolves $(hosname).local into two IPs. One IP is obtained from the ethernet port (...
user avatar
  • 113
1 vote
1 answer
160 views

why Host command returns SERVFAIL

I tried to use host command for my blog jfeatures.com and getting error (SERVFAIL). I am using google domains for the blog and it is powered by github pages. $ host jfeatures.com jfeatures.com has ...
user avatar
  • 153
0 votes
0 answers
146 views

How to ssh from host into Qemu VM through its hostname, not its IP?

I created a QEMU VM, both host and guest being ubuntu 20.04. Then I created a bridge network and attached it to the VM using Virtual Machine Manager in hope of ssh from host into guest. Now I can do ...
user avatar
  • 33
0 votes
1 answer
22 views

How can I find an identifiable network name over ethernet?

As a network client over wifi, I can get a BSSID that shows a recognizable network name. Are there any equivalent method over an ethernet connection under nixes ? My question concerns personal ...
user avatar
0 votes
1 answer
99 views

Ubuntu, network problem

I installed some updates on my Ubuntu Desktop 21.04 through app "Software and Updates", I don't know what kind of software was updated. Internet had worked without problems before I rebooted ...
user avatar
  • 1
0 votes
1 answer
51 views

How do I get the inside of the network to see the server properly? Inside the network, foobar.net doesn't resolve

I'm running MINT 20.1. I am connected to the net via AT&T UVERSE fiber optic. I have a DNS, foobar.net, set up to point at my router, and when I am outside the network, I can load a website ...
user avatar
0 votes
1 answer
227 views

How to get name resolution working inside a chroot of a different architecture?

On an amd64 machine running Manjaro Linux, I'd like to be able to resolve names inside an arm chroot, which is Arch Linux ARM. Unfortunately, it's not working. I suspect it might have something to do ...
user avatar
  • 144
0 votes
0 answers
200 views

Slow hostname resolution for SSH(git)

Strangest thing. After upgrading to Fedora 33, the git fetch, push and pull commands are SLOW. I've been able to get a bit of trace and debug info using the following command: GIT_SSH_COMMAND="...
user avatar
3 votes
1 answer
3k views

Why DNS stops resolving under QEMU "user networking" when the host roams to a particular network?

I use GNOME Boxes on a laptop. The guest machines get the Internet connection automatically with default settings whenever the laptop moves between networks (Ethernet, Wi-Fi in different locations, or ...
user avatar
1 vote
1 answer
41 views

Resolving own LAN IP when the network goes down

I have a headless music server (raspbian buster) running a storage server (minimserver) and a player (upmpdcli) on the same machine. When it's playing, it's fetching the music files via its LAN ...
user avatar
1 vote
0 answers
1k views

How to disable IPv6 short hostname resolution

For a long time I've been able to SSH to other hosts on my network just with the short name, e.g. ssh otherpc and it recognises it's a short name, adds the DNS search suffix, does a lookup for otherpc....
user avatar
  • 5,806
0 votes
2 answers
158 views

Different IP:hostName mappings for same host in `/etc/hosts`. Why does this work?

My scenario Relevant entries in my /etc/hosts (I have them written in the same order you see them here) 172.22.5.107 www.wordpress-rend-adri.com 192.168.1.116 www.wordpress-rend-adri.com I use ...
user avatar
0 votes
1 answer
507 views

Host configured with both resolvconf and dnsmasq, restarting dnsmasq keeps pointing to old servers

I have an Ubuntu 16.04.2 LTS host. It is configured to use dnsmasq for DNS forwarding, rather than use resolv.conf populated with nameservers. The configuration is standard wherein resolv.conf just ...
user avatar
  • 1,500
2 votes
1 answer
6k views

Temporary failure in name resolution after upgrade to Debian Buster

I upgraded a few machines to Debian Buster and everything went well so far—although when running apt upgrade before apt full-upgrade I ran into a Temporary failure in name resolution. This was ...
user avatar
  • 753
16 votes
3 answers
4k views

How can it be that ssh somename works, while nslookup somename does not?

How to know the IP address of some host somename I can ssh to? If I do nslookup on this host it says "no answer". How can ssh resolve it's name then? Neither /etc/hosts nor .ssh/config explanation ...
user avatar
  • 2,517
0 votes
2 answers
722 views

SSH-keys ipv4 ipv6 connection issue

Update: I found this question which seems to be very related. Not sure how exactly. What am I missing? I can only use ssh when it resolves through https hostnames? Normal ssh it hangs kinda like ...
user avatar
  • 11
19 votes
3 answers
20k views

How do `/etc/hosts` and DNS work together to resolve hostnames to IP addresses?

In Linux, how do /etc/hosts and DNS work together to resolve hostnames to IP addresses? if a hostname can be resolved in /etc/hosts, does DNS apply after /etc/hosts to resolve the hostname or treat ...
user avatar
  • 89.8k
2 votes
1 answer
1k views

Linux/Windows client resolve Linux hostname on LAN

According to Debian's RPi3 image wiki, I should be able to ssh into a Raspberry-Pi, with just the hostname. I shared internet from my Debian laptop, WiFi to the a Raspberry-Pi over Ethernet, but the ...
user avatar
  • 2,192
0 votes
1 answer
1k views

How to enable hostname resolving in Debian? [closed]

I have installed Debian on a dedicated server. The company that leases this server gave me 3 addresses: DMZ IP Mask Gateway The server cannot resolve hostnames. So when I use ping with IP- it works. ...
user avatar
  • 207
1 vote
1 answer
1k views

Configure dnsmasq to translate local names for iPhones

I've found that iPhone 5S won't resolve name of the host of the local network by it's name. It is only possible when adding .local suffix to the hostname, e.g. instead of asking (like on a Linux host):...
user avatar
0 votes
1 answer
677 views

Host command successful but DNS won't resolve

I'm trying to complete the setup of my Bind9 DNS server. Both Systems are running Debian Stretch. The serving machine (192.168.0.113) is a VM host and the client machine (192.168.0.104) is its ...
user avatar
0 votes
0 answers
666 views

Cannot change hostname of raspberry pi in local network

I have a clean install of the debian-based OSMC os on a raspberry pi. I've manually set a static IP: $ ifconfig wlan0 wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 ...
user avatar
  • 101
0 votes
0 answers
166 views

How to fix resolveip returning multiple ip addresses?

I switched to a different distribution on my Raspberry Pi and am facing difficulties dicovering it by its hostname from my notebook. I can ssh to it but not ping it (both works fine using the ip ...
user avatar
  • 315
0 votes
0 answers
101 views

Websites quit resolving

My Ubuntu 16.04 LTS server which is running VestaCP will no longer resolve my websites. I can connect to my VestaCP control panel via IP, but not via hostname anymore. All my websites show this error ...
user avatar
5 votes
2 answers
1k views

How to get remote host DNS address from a super-slim host (docker) without ping or bind-utils?

How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc? I need an answer that does not include 'install X' or 'use sidecar container'. I ...
user avatar
1 vote
1 answer
645 views

How do I figure out what is answering a DNS resolution call?

Let's say I have inside of my hosts file an entry for foobar, how do I find out if that file is used or if a remote DNS is answering the resolution for foobar? Do any of the basic utilities give back ...
user avatar
  • 22.4k
1 vote
1 answer
365 views

Apache httpd on CentOS doesn't mask IP to domain

I was following this tutorial to the letter and when I entered my domain name in the browser, I get my page. Except the fact that the browser never masks the domain to www.example.com, instead it ...
user avatar
  • 113
3 votes
2 answers
65 views

Get public IPs of accessed webpages?

I would like to be able to get the public IPs of the websites I am accessing with my PC in a way such as: www.google.es - public IP1 www.cdn.facebook.com - public IP2 and so on. I think this ...
user avatar
  • 133
1 vote
2 answers
3k views

Name resolution in busybox

I have a statically linked busybox and want to be able to write busybox telnet foo. How do I specify the address of "foo"? Do I really need /etc/nsswitch.conf and the corresponding dynamic libraries, ...
user avatar
  • 20k
3 votes
0 answers
2k views

DNS resolution problem with OpenBSD

During boot up, messages flashed on my computer screen, among which are the following: DHCPACK from 192.168.200.1 bound to 192.168.200.12----> renewal in 432600 seconds The contents of my /etc/...
user avatar
11 votes
5 answers
37k views

Resolving NETBIOS names from Linux

There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply: C:\>ping susan I've followed this guide (and looked at several other similar ones) for ...
user avatar
  • 3,295
6 votes
2 answers
6k views

DNS resolution problem with Fedora 20

I have a newly built Fedora 20 server that I've just hooked to my network. It's a virtual server running on a VirtualBox host. Everything seems to be working but I have a problem with name resolution. ...
user avatar
3 votes
0 answers
4k views

OpenWrt: Find neighbors knowing their MAC address

I have an Open Mesh access point connected to the same router (an Aerohive BR100) than an Axis camera. I would like to automate the discovery of the camera's IP from inside the Open Mesh sensor, ...
user avatar
  • 1,191