locked
Get fully Fully Qualified Domain Name of a virtual linux machine RRS feed

  • Question

  • Hello!

    I have some problems to get correct Fully Qualified Domain Name or computer name from virtual machines with linux OS. (CentOS release 6.2 (Final))

    If I rename the virtual machine, I will still get the old name (from C# code running on windows 2008 R2) . If i reboot the virtual machine after 24-48 hours, I will get the new name.

    I dont know if there is some caching or something inside the virtual machine?

    I have also tried rebooting the host and the server running the C# code (using WMI), but still it returns the old name

    I dont have this problem with virtual machines running windows XP or 2008 R2

    I'm using linux integration services 3.2.

    Module version:

    filename:       /lib/modules/2.6.32-220.el6.x86_64/weak-updates/microsoft-hyper-v/hv_utils.ko
    alias:          vmbus:e7f4a0a9455a964db8278a841e8c03e6
    alias:          vmbus:394f16571591784eab55382f3bd5422d
    alias:          vmbus:30e62795aed07b49adcee80ab0175caf
    alias:          vmbus:31600b0e13523449818b38d90ced39db
    license:        GPL
    version:        3.2
    description:    Hyper-V Utilities
    srcversion:     76B93D2BF71B3CFE04ACB98
    depends:        hv_vmbus
    vermagic:       2.6.32-71.el6.x86_64 SMP mod_unload modversions

    filename:       /lib/modules/2.6.32-220.el6.x86_64/weak-updates/microsoft-hyper-
    version:        3.2
    license:        GPL
    srcversion:     C6A2763EE7CA2A246E31600
    alias:          acpi*:VMBus:*
    alias:          acpi*:VMBUS:*
    depends:
    vermagic:       2.6.32-71.el6.x86_64 SMP mod_unload modversions
    parm:           vmbus_loglevel:int

    Monday, April 2, 2012 1:19 PM

All replies

  • ipconfig /flushdns

    would delete the cache on Windows host. Name resolution is influenced by node type.

    Regards

    Milos

    Sunday, June 17, 2012 8:26 PM