You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Tony Guadagno <tg...@bankwithlnb.com> on 2025/12/08 14:49:03 UTC

RE: [External] cannot resolve hosts...all of a sudden

Nick, I reviewed the IP addressing and I don't think that is it.  I did find several search hits referring to docker dns resolution not always working properly.  The stated solution was to put the following in the /etc/docker/daemon.json

{ "dns": ["8.8.8.8", "8.8.4.4"] }  (insert your own dns servers)

I did this and it seems to have fixed the issue...

They also say you can pass the dns in on the run statement with " --dns 8.8.8.8"

Not sure why it worked for a month before breaking, but I will keep an eye on it.

thanks


Tony

-----Original Message-----
From: Nick Couchman <vn...@apache.org> 
Sent: Sunday, December 7, 2025 6:55 AM
To: user@guacamole.apache.org
Subject: Re: [External] cannot resolve hosts...all of a sudden

On Fri, Nov 28, 2025 at 9:25 AM Tony Guadagno <tg...@bankwithlnb.com> wrote:
>
> Hi, I have been using guac for about a month and it has been running flawlessly.  All of a sudden today, I get complaints that users cannot login.  I am using radius for authentication and so I see this in the guacamole logs:
>
>
>
> 13:34:29.154 [http-nio-8080-exec-1] ERROR 
> o.a.g.a.r.AuthenticationProviderService - Cannot configure RADIUS 
> server: Unable to resolve RADIUS server host. 1
>
>
>
> So I think I have a DNS issue, however, I can ping the radius server name and it correctly resolves the IP on the server command line.  This seems to get fixed when I reload the guacamole docker image however, now that I can login, I cannot connect to any of my connections.  When I look at the guacd logs, I see this for every connection:
>
>
>
> guacd[1]: INFO: Creating new client for protocol "rdp"
>
> guacd[1]: INFO: Connection ID is "$17fe4200-8b26-4ed1-915f-c65b6182373a"
>
> guacd[197]: INFO:       No security mode specified. Defaulting to security mode negotiation with server.
>
> guacd[197]: INFO:       Resize method: none
>
> guacd[197]: INFO:       No clipboard line-ending normalization specified. Defaulting to preserving the format of all line endings.
>
> guacd[197]: INFO:       User "@8b1e148e-31f4-42e5-a738-219c3cc51132" joined connection "$17fe4200-8b26-4ed1-915f-c65b6182373a" (1 users now present)
>
> guacd[197]: INFO:       Local system reports 2 processor(s) are available.
>
> guacd[197]: INFO:       Graphical updates will be encoded using 2 worker thread(s).
>
> guacd[197]: INFO:       Loading keymap "base"
>
> guacd[197]: INFO:       Loading keymap "en-us-qwerty"
>
> guacd[197]: INFO:       RDP server closed/refused connection: DNS lookup failed (incorrect hostname?)
>
> guacd[197]: INFO:       User "@8b1e148e-31f4-42e5-a738-219c3cc51132" disconnected (0 users remain)
>
> guacd[197]: INFO:       Last user of connection "$17fe4200-8b26-4ed1-915f-c65b6182373a" disconnected
>
> guacd[1]: INFO: Connection "$17fe4200-8b26-4ed1-915f-c65b6182373a" removed.
>
>
>
> Again, another name resolution issue… so I reboot the server completely and I am still getting the issue.  right now I cannot connect to name connections, but I can connect when I change the name to the IP address.  And again, all of these names resolve just fine from the server comand line….
>
>
>
> So, now I just figured out how to create a shell in the guacd docker image like this:
>
> docker exec -it guacd sh
>
>
>
> and from inside the guacd docker image, I cannot name resolve any more.  Again, this was working until today and I cannot see anything that changed.
>
>
>
>
>
> Can anyone give me a clue as to why this would have started out of the blue?
>

Hi, Tony,
This definitely is a bit puzzling, but I suspect is nothing Guacamole-specific, and has something to do with your Docker configuration or some sort of other networking challenge. The only thing that I can think of off the top of my head is to check and make sure that your internal Docker network - the one that the host uses for containers - doesn't "overlap" with any of the LAN networks that the host is on. So, for example, if your Docker instance is using the default network of 172.17.0.0/20, and there's some other network between your Docker host and your DNS server that uses an IP address in that same range, you could have some routing issues for those Docker containers, specifically, thinking that they can contact the DNS server locally rather than route out to the host, which would then send it out the proper network interface. The solution to that issue is to change the IP address range that Docker uses internally
(https://urldefense.proofpoint.com/v2/url?u=https-3A__serverfault.com_questions_916941_configuring-2Ddocker-2Dto-2Dnot-2Duse-2Dthe-2D172-2D17-2D0-2D0-2Drange&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=FAi7_Un_xIwqyE1tNdU-gb08bRZLlfxR_VZo5-zbQF0&m=3wIk2NhuVA1YpEbTgrATSTU8P6BDrq884WL7IuPDi7aUKHyR8gvItW2KE5vcCjPx&s=98Xj8qj439kMeoNqatykZPzfqx9tl5TlziYu1wuy63I&e=)
so that things route correctly.

Not sure that's the issue, just something I've run into in the past.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


----------

This email has been scanned for spam and viruses by Proofpoint Essentials. Visit the following link to report this email as spam:
https://us1.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5ff43cb828917c19ec58ed169454d914f298f2085608eb6e3a14f49b2c47be84f596ed95814fd22f88572f6bc439c3035f2fef2adf175dee82e2269bcae81e6e3eb7e34610b3d28cf79418699e826ddf5eeb6f7bfb06e52865408c9b0a677737611f5e570cda45fd4d04c8a0d1a49298a6f0b9153c2c565b32b231f88814af218442eceda38e57ca116c094a0624104c2fc261f41cd5db0946

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org