<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>we're using the isc-dhcp-server in our enviroment, but since the version 4.3 there is an issue with the domain lookup.</p>
<p>We've defined multiple domains in /etc/hosts e.g ldapm.foss-cloud.int or foss-cloud.org. </p>
<p><br>
</p>
<p>The problem is now that we get an "<span>Can't contact LDAP server" error, altough the domains are pointing to 127.0.0.1.</span></p>
<p>So I've done a tcpdump which shows that the DHCP server tries to make requests to an external ip, which is the A-Record of foss-cloud.org<br>
</p>
<div><br>
</div>
<div>02:11:05.373307 IP 192.168.5.101.46016 > 62.204.105.153.636: Flags [S], seq 3665195687, win 29200, options [mss 1460,sackOK,TS val 2152987841 ecr 0,nop,wscale 7], length 0</div>
<div>02:11:06.396480 IP 192.168.5.101.46016 > 62.204.105.153.636: Flags [S], seq 3665195687, win 29200, options [mss 1460,sackOK,TS val 2152988148 ecr 0,nop,wscale 7], length 0</div>
<div>02:11:08.529804 IP 192.168.5.101.46016 > 62.204.105.153.636: Flags [S], seq 3665195687, win 29200, options [mss 1460,sackOK,TS val 2152988788 ecr 0,nop,wscale 7], length 0</div>
<div>02:11:12.583127 IP 192.168.5.101.46016 > 62.204.105.153.636: Flags [S], seq 3665195687, win 29200, options [mss 1460,sackOK,TS val 2152990004 ecr 0,nop,wscale 7], length 0</div>
<div>02:11:20.689774 IP 192.168.5.101.46016 > 62.204.105.153.636: Flags [S], seq 3665195687, win 29200, options [mss 1460,sackOK,TS val 2152992436 ecr 0,nop,wscale 7], length 0</div>
<div><br>
</div>
And this happens altough foss-cloud.org points to 127.0.0.1 in /etc/hosts.
<p></p>
<p>If I now try a domain which points to 127.0.0.1 for example l<span>ocaltest.me, the DHCP server connects without any issues.</span></p>
<p><span><br>
</span></p>
<p><span>Now there is the question how to solve this issue? </span></p>
<p><span><br>
</span></p>
<p><span>For more information here is also a thread on the gentoo forum, where I've put some more details:</span></p>
<p><a href="https://forums.gentoo.org/viewtopic-p-8079698.html#8079698" class="OWAAutoLink" id="LPlnk473019" style="font-size: 12pt;">https://forums.gentoo.org/viewtopic-p-8079698.html#8079698</a><br>
</p>
<p><br>
</p>
<p><span>Kernel: <span>Linux localhost 4.10.1-gentoo </span></span></p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Kind regards</p>
<p>Sören Busse</p>
<p></p>
</div>
</div>
</div>
</body>
</html>