notes:linux_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:linux_troubleshooting [2025/07/23 10:02] patrick.kahrnotes:linux_troubleshooting [2025/07/23 10:03] (current) patrick.kahr
Line 3: Line 3:
 ====== openSuse DNS issues ====== ====== openSuse DNS issues ======
 We noticed intermittent DNS resolution issues. Roughly every second DNS request returned ''not found'' for DNS entries on our internal ''.lan'' zone. We noticed intermittent DNS resolution issues. Roughly every second DNS request returned ''not found'' for DNS entries on our internal ''.lan'' zone.
-After checking that ''/etc/resolv.conf'' indeed contains the correct DNS settings provided by the DHCP server, we suspected it is some kind of caching. It turns out that openSuse Leap does DNS caching using ''nscd'' by default. Other people have already reported issues with it: https://www.reddit.com/r/openSUSE/comments/s0oq4e/wierd_dns_caching_issue/+After checking that ''/etc/resolv.conf'' indeed contains the correct DNS settings provided by the DHCP server, we suspected it is some kind of caching.  
 + 
 +It turns out that openSuse Leap does DNS caching using ''nscd'' by default.  
 + 
 +Other people have already reported issues with it: https://www.reddit.com/r/openSUSE/comments/s0oq4e/wierd_dns_caching_issue/ 
 + 
 The problem was resolved by disabling DNS caching: The problem was resolved by disabling DNS caching:
  
-  Set ''enable-cache hosts no'' in ''/etc/nscd.conf'' +  -   Set ''enable-cache hosts no'' in ''/etc/nscd.conf'' 
-  Relaunch the nscd daemon ''sudo systemctl restart nscd''+  -   Relaunch the nscd daemon ''sudo systemctl restart nscd''
  • notes/linux_troubleshooting.1753264948.txt.gz
  • Last modified: 2025/07/23 10:02
  • by patrick.kahr