[PATCH] append multiple search domains to CISCO_DEF_DOMAIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-09-28 at 10:28 -0700, Daniel Lenski wrote:
> Does having multiple search domains actually have a useful effect on some OSes?
> At least on Linux, I believe the default hostname resolution behavior
> only looks at a single default domain.
> Though a custom vpnc-script might be able to finesse this:
>
> https://unix.stackexchange.com/questions/128091/no-domain-defined-in-etc-resolv-conf

I think this should already work. Current vpnc-script does this:

        # note that "search" is mutually exclusive with "domain";
        # "search" allows multiple domains to be listed, so use that
        if [ -n "$DOMAINS" ]; then
                NEW_RESOLVCONF="$NEW_RESOLVCONF
search $DOMAINS"
        fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20181001/75dc7cc2/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux