<p></p>
<p>Kamailio is using the libc dns resolver, it is not appending the local hostname by itself (afaik), that is done by the library. See the manual for resolv.conf, probably there should be options to configure this behaviour.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2706#issuecomment-819293813">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKSD7O6CJ2IQRX7ADDTIU7MRANCNFSM423KFRZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLDMONAXZDH3RXJUSTTIU7MRA5CNFSM423KFRZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGDKW45I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2706#issuecomment-819293813",
"url": "https://github.com/kamailio/kamailio/issues/2706#issuecomment-819293813",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>