You are not logged in.

#1 2013-05-29 19:33:00

nixIT
Member
Registered: 2010-01-13
Posts: 544

name resolution on LAN

Greetings and Salutation,

Recently installed Arch64 w/XFCE on my work desktop,  static IP address using netctl.

I can ping external networks, however, I cannot ping anything local, as Arch can't resolve the name.

contents of /etc/resolv.conf

# Generated by resolvconf
nameserver 10.241.0.7

If I enter in the computer names/IP addresses in the hosts file everything works, so it seems that arch is not picking up the DNS information from our local DNS servers.

I had this issue with linux a while back (Mint) and had to use a DHCP address in order for name resolution to work locally.  is this the case with Arch?

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2013-05-29 20:16:29

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: name resolution on LAN

For whatever it is worth, I have dnsmasq running on my router, with hostnames bound to IPs and MACs, and thus I can ping LAN computers via hostnames.

Offline

#3 2013-05-29 20:28:29

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: name resolution on LAN

lucke wrote:

For whatever it is worth, I have dnsmasq running on my router, with hostnames bound to IPs and MACs, and thus I can ping LAN computers via hostnames.

Accessing machines by hostname was never all that reliable until I started using OpenWRT running dnsmasq like luck mentioned above (actually I run CeroWRT, but it is basically OpenWRT with a newer kernel).

Offline

#4 2013-05-29 20:33:12

nixIT
Member
Registered: 2010-01-13
Posts: 544

Re: name resolution on LAN

Don't think I can run this, since DNS is on a Microsoft Active Directory.

So, the only reliable way is to have a ton of machines in my hosts file?

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#5 2013-05-29 20:49:44

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: name resolution on LAN

You said using DHCP made it work with Mint? Did you compare the DNS servers you got via DHCP with your manually configured servers (or server as in the OP)? I don't know how else DHCP would influence name resolution (unless we're also talking about resolving the name of your Arch box on other machines in the LAN).

Offline

#6 2013-05-29 20:53:34

nixIT
Member
Registered: 2010-01-13
Posts: 544

Re: name resolution on LAN

@Raynman,

Tomorrow, I'm going to configure my box to use DHCP and see what the results are.


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#7 2013-05-29 21:00:47

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: name resolution on LAN

If you don't use DHCP to fetch the IP, you might want to use dhcpcd to advertise it. (dhcpcd --inform)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB