From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJr14-0000ph-BJ for qemu-devel@nongnu.org; Tue, 10 May 2011 13:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJr11-0006Pg-UX for qemu-devel@nongnu.org; Tue, 10 May 2011 13:46:38 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:37363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJr11-0006PQ-SA for qemu-devel@nongnu.org; Tue, 10 May 2011 13:46:35 -0400 Received: by ywl41 with SMTP id 41so2651318ywl.4 for ; Tue, 10 May 2011 10:46:31 -0700 (PDT) MIME-Version: 1.0 Sender: cfkarsten@gmail.com From: Carl Karsten Date: Tue, 10 May 2011 12:40:26 -0500 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] adding search to dhcp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org man qemu... hostname=name Specifies the client hostname reported by the builtin DHCP server. I would like to add a technically similar option: search It would be sent along the same path that the above hostname parameter takes. This would allow the guest OS to reference other boxes on my LAN by just hostname, not FQDN. I have many scripts that rely on this, and so they break when I try to run them in a qemu vm. man dhcp-options option domain-search domain-list; The domain-search option specifies a 'search list' of Domain Names to be used by the client to locate not-fully-qualified domain names. The difference between this option and historic use of the domain- name option for the same ends is that this option is encoded in RFC1035 compressed labels on the wire. For example: option domain-search "example.com", "sales.example.com", "eng.example.com"; I would expect the syntax to look like this: qemu -hda 1.qcow2 -net nick -net user,hostname=qemu,search=example.com,sales.example.com -- Carl K