[SOLVED] NetworkManager dhclient send host-name

I use network-manager-applet on xfce4 . dhclient does not send the host name to the server. I don't see any related option in the applet.
dhclient is started without the "-H" option and the generated conf does not have a "send host-name" line.
"dhcp-client-identifier" is something different.
[il@vmarch ~]$ ps -Af | grep dhcp
root 548 185 0 12:01 ? 00:00:00 /usr/bin/dhclient -d -q -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-enp0s3.pid -lf /var/lib/NetworkManager/dhclient-eae8589b-41a8-4e9a-9bf1-29c0a43dc88a-enp0s3.lease -cf /var/lib/NetworkManager/dhclient-enp0s3.conf enp0s3
[il@vmarch ~]$ sudo cat /var/lib/NetworkManager/dhclient-enp0s3.conf
# Created by NetworkManager
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
option ms-classless-static-routes code 249 = array of unsigned integer 8;
option wpad code 252 = string;
also request rfc3442-classless-static-routes;
also request ms-classless-static-routes;
also request static-routes;
also request wpad;
also request ntp-servers;
Last edited by leniviy (2015-03-29 15:54:58)

For some reason, NM does not use the host name obtained from OS.
Workaround:
[root@vmarch ~]# nmcli con show
NAME UUID TYPE DEVICE
enp0s3 84b17c75-9129-4944-849e-b82003511578 802-3-ethernet enp0s3
[root@vmarch ~]# nmcli con show enp0s3 | grep ipv4.dhcp-hostname
ipv4.dhcp-hostname: --
[root@vmarch ~]# nmcli con modify enp0s3 ipv4.dhcp-hostname `hostname`
Last edited by leniviy (2015-03-29 15:54:46)

Similar Messages

  • Send Host name by socket? in servlets

    Hi !
    how to send request with out Host Name, is it possible ?.
    like : http:///servlet/Sample .
    send Host Name by socket programming(may be in c or c++).
    if yes,how to communicate with that socket.
    Please Help me.
    Thanks in advance,
    vij.

    Hi Nitin,
    Following is the specification for getRemoteHost()
    "Returns the fully qualified name of the client that sent the request, or the IP address of the client if the name cannot be determined. For HTTP servlets, same as the value of the CGI variable REMOTE_HOST." I think the same would be true for getHostName().....
    So, this can be one possiblity why ur given IP.

  • DHCP Client does not send host name to DHCP Server

    Hello,
    I installed Solaris 10 on VirtualBox and I cannot ping/ssh/telnet the virtual machine by its host name (even from the host computer) but only by it's ip.
    I tried everything I could find on internet with no success (I don't want to add the hostname in every hosts file on every computer because it's not really professionnal)
    I followed what said here: http://docs.oracle.com/cd/E26505_01/html/E27061/eyhuv.html#scrolltoc
    Can someone has an idea of what I can do or why this does not work.
    I installed a virtual Windows7 and an Ubuntu, and it worked perfectly.
    Any help would be grantly appreciated.
    Thank you
    Here is my current configuration:
    Oracle VM VirtualBox 4.3.8 (I choose "Oracle 10 10/09 and later (64 bit))
    Oracle Solaris 10 1/13
    Network: bridge with RealTek interface
    NB: I don't have access to dhcp server on my netgear router (access is disabled by my ISP)
    Files in /etc:
    dhcp.e1000g0 (empty)
    nodename (contains "thorgal")
    nsswitch.conf has following lines:
    hosts: files dns # Added by DHCP
    ipnodes: files dns # Added by DHCP
    networks:   files
    protocols:  files
    rpc:        files
    ethers:     files
    netmasks:   files
    bootparams: files
    hostname.e1000g0 (contains "inet thorgal")
    /etc/inet/hosts:
    ::1             localhost
    127.0.0.1       localhost loghost
    192.168.0.17    thorgal # Added by DHCP
    /etc/default/dhcpagent:
    REQUEST_HOSTNAME=yes
    PARAM_REQUEST_LIST=1,3,6,12,15,28,43
    .v6.PARAM_REQUEST_LIST=7,12,23,24,27,29
    I also try "ifconfig e1000g0 dhcp release" with no success
    the debugging of dhcpagent:
    # pkill -x dhcpagent
    # /sbin/dhcpagent -d1 -f &
    1088
    # ifconfig e1000g0 dhcp start
    /sbin/dhcpagent: debug: insert_pif: e1000g0: sdumax 1500, hwtype 1, hwlen 6
    /sbin/dhcpagent: debug: set_packet_filter: set filter 805869f (DHCP filter)
    /sbin/dhcpagent: debug: get_smach_cid: getting default client-id property on e1000g0
    /sbin/dhcpagent: debug: in state INIT; allowing start command on e1000g0
    /sbin/dhcpagent: debug: ipc_action_start: started start (command 4) on e1000g0
    /sbin/dhcpagent: debug: set_smach_state: changing from INIT to INIT_REBOOT on e1000g0
    /sbin/dhcpagent: debug: dhcp_selecting: host thorgal
    /sbin/dhcpagent: info: configure_v4_lease: setting IP netmask to 255.255.255.0 on e1000g0
    /sbin/dhcpagent: info: configure_v4_lease: setting IP address to 192.168.0.17 on e1000g0
    /sbin/dhcpagent: warning: configure_v4_lease: no IP broadcast specified for e1000g0, making best guess
    /sbin/dhcpagent: info: configure_v4_lease: using broadcast address 192.168.0.255 on e1000g0
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 acquired lease, expires Fri Mar 21 21:33:05 2014
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 begins renewal at Fri Mar 21 09:33:05 2014
    /sbin/dhcpagent: info: configure_v4_timers: e1000g0 begins rebinding at Fri Mar 21 18:33:05 2014
    /sbin/dhcpagent: debug: set_smach_state: changing from INIT_REBOOT to PRE_BOUND on e1000g0
    /sbin/dhcpagent: info: added default router 192.168.0.1 on e1000g0
    /sbin/dhcpagent: debug: set_smach_state: changing from PRE_BOUND to BOUND on e1000g0
    /sbin/dhcpagent: debug: configure_bound: bound e1000g0
    /sbin/dhcpagent: debug: ipc_action_finish: finished start (command 4) on e1000g0: 0

    During the Solaris installation process, you told it what the hostname was going to be and that you wanted that environment to exist with a dynamic IP address instead of a specific address that you desired.
    When Solaris boots it broadcasts that hostname and waits for a DHCP server to be quasi-intelligent enough to award an IP address based upon a pre-configured list inside that DHCP server.   Hostname ABC would always get IP address 123 on subnet rst, hostname DEF would always get IP address 456 on subnet xyz, and so on and so on.
    That's the fundamental process for proper (and thus secure) DHCP.
    All your other environments (Windows, Debian, Ubuntu) are what might be thought of as "hacked for convenience" to get around that sort of network configuration.  They take the lazy way to exist.  That partial networking setup is good enough for a home network but would be miserably insecure in a corporate environment.  Those choices are operating environments that are nice for end-user desktops but aren't Enterprise Class.
    My suggestion?
    Review the IP address range in your Netgear router's setup.
    It is likely something like 192.169.0.1 through 192.168.0.50 and can be customized.
    You probably don't have 50 devices on your network and probably will never have 50 simultaneous devices on your network.
    ... just do a reconfigure reboot and set your Solaris to use a static IP of 192.068.0.45
    Then reboot and I predict your issue that prompted this forum thread will be gone.
    That's how I've done it at home for many years, even when installing Solaris to bare metal (no virtualization).

  • How to I send host-name to my router?

    When I log into my netgear router's webmin page, my Arch Linux connection is reported as "UNKOWN" even though /etc/rc.conf has
    HOSTNAME="thinkpad"
    eth0="dhcp"
    and /etc/conf.d/dhcpcd has
    DHCPCD_ARGS="-t 30 -h $HOSTNAME"
    Can someone please tell me why my hostname is not being sent to my router and what I need to do to get to be sent?

    Sjoden wrote:
    All the small office/home office routers I've used were unable to get the hostname from my linux boxes. Netgear, SMC, Actiontec... I don't think it is uncommon.
    Zack
    i have had this same experience.  the only boxes on my home network that ever show a hostname are either windows or my roommate's ubuntu.  possibly the use of dhclient vs dhcpcd, but i'm not entirely sure.

  • Host name not showing up under Active Clients

    When I go into my router and check active connections, I can see all host names like "Acer Laptop", "IPhone" etc..., IP and MAC address' that are connected to router. Today, when I was in there looking, I saw an asterisk where host name should be for the TouchPad. (it took me a while to figure out it was the TouchPad) Is there a reason why Host name would not show up?
    I have gone into "Device Settings" and set "Name" as "Chucks TouchPad". Is that the host name that should be showing on router?
    Thank You for any assistance.
    Post relates to: HP TouchPad (WiFi)

    Sure is, but it will involve some commandline work. First, you're going to need to install the SDK. You only need the Novacom part of the SDK, but AFAIK there's no seperate download for Windows... you have to get the whole thing. The SDK is available here: https://developer.palm.com/content/resources/devel​op/sdk_pdk_download.html
    Next, you're going to need to enable Developer mode on your TouchPad, here's how to do that:
    Start a Just Type search and enter webos20090606
    A Developer Mode icon will display, tap it
    Tap the toggle switch to turn it On
    Leave the password blank and tap Sumbit
    Close the Developer Mode app
    Now, connect your TouchPad to your computer. Next, you're going to find a file called Novaterm.bat. It's buried in the install directory of the SDK. I don't remember the exact path (I don't use Windows anymore) but it's something like C:\Program Files\Palm SDK\Current\bin (keep digging around for bin folders in the C:\Program Files\Palm SDK path and you'll find it eventually). Doubleclick that to start a nice little terminal app. Choose your TouchPad from the drop down list and click connect.
    Now, time for some command line stuff. Run the following commands in the terminal:
    mount -o remount,rw /
    cd /etc/dhcp
    vi dhclient.conf
    Press the I key on your keyboard to go into edit mode (this is a Vi specific thing)
    Remove the # at the beginning of line 14 and change the andare.fugue.com inside the quotes to whatever you want your TouchPad reporting as. For example: #send host-name "andare.fugue.com"; would become send host-name "RidiusTouchPad";
    To save your changes, hit the ESC key (to exit edit mode), then type :wq and hit enter. Note there is a colon in there. Again, this is Vi specific stuff.
    sync
    mount -o remount,ro /
    Once you've done this, disable and re-enable your Wi-Fi and your TouchPad should be reporting a hostname. Kind of a lot of work if you ask me (unless you already have the SDK installed).

  • VM Creation - host name not set

    Hi,
    I'm creating vm using createVmTemplate api where i assign the hostname in NICConfig
    But i see that the given hostname is not set in the vm.
    Default hosname - "localhost.localdomain" is seen in the vm.
    how to resolve this

    Sure is, but it will involve some commandline work. First, you're going to need to install the SDK. You only need the Novacom part of the SDK, but AFAIK there's no seperate download for Windows... you have to get the whole thing. The SDK is available here: https://developer.palm.com/content/resources/devel​op/sdk_pdk_download.html
    Next, you're going to need to enable Developer mode on your TouchPad, here's how to do that:
    Start a Just Type search and enter webos20090606
    A Developer Mode icon will display, tap it
    Tap the toggle switch to turn it On
    Leave the password blank and tap Sumbit
    Close the Developer Mode app
    Now, connect your TouchPad to your computer. Next, you're going to find a file called Novaterm.bat. It's buried in the install directory of the SDK. I don't remember the exact path (I don't use Windows anymore) but it's something like C:\Program Files\Palm SDK\Current\bin (keep digging around for bin folders in the C:\Program Files\Palm SDK path and you'll find it eventually). Doubleclick that to start a nice little terminal app. Choose your TouchPad from the drop down list and click connect.
    Now, time for some command line stuff. Run the following commands in the terminal:
    mount -o remount,rw /
    cd /etc/dhcp
    vi dhclient.conf
    Press the I key on your keyboard to go into edit mode (this is a Vi specific thing)
    Remove the # at the beginning of line 14 and change the andare.fugue.com inside the quotes to whatever you want your TouchPad reporting as. For example: #send host-name "andare.fugue.com"; would become send host-name "RidiusTouchPad";
    To save your changes, hit the ESC key (to exit edit mode), then type :wq and hit enter. Note there is a colon in there. Again, this is Vi specific stuff.
    sync
    mount -o remount,ro /
    Once you've done this, disable and re-enable your Wi-Fi and your TouchPad should be reporting a hostname. Kind of a lot of work if you ask me (unless you already have the SDK installed).

  • Can I send DHCP host name to my ISP from RV220W?

    My ISP waits a definite host name from me to return my white IP address via DHCP. Can I set this parameter in RV220W router? I don't find such parameter in IPv4 WAN configuration page.

    After firmware update to 1.0.3.5 I can set up router name but provider support answer that router doesn't send its name to provider during DHCP handshake. Is that right?

  • HT201320 I have an email account through yahoo. I am having trouble setting it upon my iPhone and can't receive or send emails!!!! I contacted Rogers and they said I need to find out the host name of the incoming server, in other words yahoos host name. H

    I have an email account through yahoo. I am having trouble setting it upon my iPhone and can't receive or send emails!!!! I contacted Rogers and they said I need to find out the host name of the incoming server, in other words yahoos host name. Help!!

    Yahoo's servers are notoriously unreliable. Use the "Yahoo" account type when setting it up. If it doesn't work, and you are positive the credentials are correct, wait a while and try again.
    While you're waiting, set up a free gmail or iCloud email account.

  • [SOLVED] dhcp host names

    I'm trying to set a host name for myself when using dhcpcd. I have tried both hostnamectl and the hostname variable in dhcpcd.conf. Still, when I try to open an ssh session from another computer, it does not recognize the hostname that I've designated. It looks like DDNS is required for dhcp host names if I'm not mistaken. Would setting DDNS up for my public IP address allow dhcp host names for the router connected to it?
    Last edited by boblitz13 (2013-01-16 22:10:51)

    Oh I see. Well, is not exactly what I though, but sill can be solved by using dnsmasq.
    If your router has DNS, then you only need it to resolve your hostname by the ip. Normally, in my experience, just because the router can detect your hostname, does not pass it to the machines on the lan, You need to specify it using a DNS.
    Again, if your router has DNS, just add your laptops ip and its hostname there. (using the router is the easiest way)
    If your router does not have DNS, you can configure a DNS server. And thats what dnsmasq is. install dnsmasq on a machine on your lan, and that machine will become your dns server, and add your laptop ip and hostname on the /etc/hosts there.
    Now, you'll need that the other machines use your DNS server.
    If they run linux, add the ip of the server to /etc/resolv.conf.head of each machine, or, if your router allows it, change the parameters of dhcp, so it assigns the ip of your server as default DNS.
    Read the wiki article Dnsmasq, for more information. And, read your router manual to see if it has DNS service.
    (A less perfect, but more simple aproach is to add the ip and hostname of your laptop on the /etc/hosts of the  machine where you are trying to use ssh; it will work only on that machine, but is faster and easier)

  • Change my Host Name in Solais 10

    Please, when I run smc(Solaris Management Console) I can see in System Information, that my Host Name is unknown. How can I change that?

    It's strange that you don't have etc/nodename, it must be in etc/. May be you'll try to create it? Besides, I think this article can help you:
    Setting Up a Solaris DHCP Client
    One of the problems that can arise when trying to use a Solaris box as a DHCP
    client is that by default, the server is expected to supply a hostname, in
    addition to all the other stuff (like IP address, DNS servers, etc.). Most cable
    modems and home routers don't supply a (usable) hostname, so it gets set to "unknown".
    This page describes how to get around that. (Where this page says "cable modem",
    "DSL modem" can be substituted.)
    This page assumes that le0 is the interface you using for your DHCP connection.
    Substitute hme0 or whatever interface you're actually using in the examples
    below.
    Setting up DHCP
    There are two ways of using DHCP:
    DHCP has limited control
    DHCP has full control
    The first case may be where you want to use your own /etc/resolv.conf and so on,
    with a minimum of hassle.
    The second case would be the normal situation, especially if your cable modem
    provider has a habit of changing DNS name server IP addresses on you (like mine
    does!), so I'll concentrate on that here. I have a script to automate the first
    method, should you want to use it. You'll need to change the DEFAULT_ADDR and
    INTERFACE variables as required.
    The first thing to do is to create an empty /etc/hostname.le0, like this:
    /etc/hostname.le0Creating this file ensures that the interface gets plumbed, ready for the DHCP
    software to do its stuff.
    Next, you create /etc/dhcp.le0. This file can be empty if you want to accept the
    defaults, but may also contain one or both of these directives:
    wait time, and
    primary
    By default, ifconfig will wait 30 seconds for the DHCP server to respond (after
    which time, the boot will continue, while the interface gets configured in the
    background). Specifying the wait directive tells ifconfig not to return until
    the DHCP has responded. time can be set to the special value of forever, with
    obvious meaning. I use a time value of 300, which seems to be long enough for my
    cable provider.
    The primary directive indicates to ifconfig that the current interface is the
    primary one, if you have more than one interface under DHCP control. If you only
    have one interface under DHCP control, then it is automatically the primary one,
    so primary is redundant (although it's permissible).
    With these files in place, subsequent reboots will place le0 under DHCP control:
    you're ready to go!
    Unknown hostname
    Actually, there's one snag: most (if not all) cable modem DHCP servers don't
    provide you with a hostname (even if they did, odds are it won't be one you want
    anyway!). This wouldn't be a problem, except that the boot scripts (/etc/init.d/rootusr
    in particular) try to be clever, and set your hostname to "unknown" in this case,
    which is not at all useful!
    The trick is to change your hostname back to the right one, preferably without
    changing any of the supplied start-up scripts, which are liable to be being
    stomped on when you upgrade or install a patch. You've also got to do it early
    enough in the boot process, so that rpcbind, sendmail and friends don't get
    confused by using the wrong hostname. To solve this problem, put this little
    script in to /etc/init.d/set_hostname, with a symbolic link to it from /etc/rc2.d/S70set_hostname.
    Starting with Solaris 10, the preceding paragraph can be ignored. Instead, just
    make sure that the hostname you want to use is in /etc/nodename; the contents of
    that file will then be used to set the hostname. (Note that it is essential that
    the hostname you put into /etc/nodename is terminated with a carriage return.
    Breakage will happen if this is not the case.) Also, from Solaris 8 it is
    possible to tell the DHCP software not to request a hostname from the DHCP
    server. To do this, remove the token 12 from the PARAM_REQUEST_LIST line in /etc/default/dhcpagent.
    (/etc/default/dhcpagent describes what the default tokens are; 12 is the
    hostname, 3 is the default router, 6 is the DNS server, and so on.)
    With these modifications in place, reboot, and you'll be using your cable modem
    in no time!
    If you've got more than one machine, and you want to access the Internet from
    all of them, you might also find my Solaris NAT page useful.
    If this page has been useful to you, please consider buying a copy of my book,
    Solaris Systems Programming.
    Send any questions or comments to: [email protected]
    And this is the script:
    #!/sbin/sh
    # Name: set_hostname
    # SCCS Id: @(#)set_hostname 1.2 07/26/04
    # Description: This file is a script for re-setting your hostname to the
    # right value if you use DHCP (which has a habit of setting
    # your hostname to "unknown" if you use a cable modem).
    # Copyright Љ 2000-2004 by Rich Teer. All rights reserved.
    HOSTNAME=`cat /etc/nodename`
    echo "Setting hostname to $HOSTNAME... \c"
    uname -S $HOSTNAME
    echo "Done."
    It's another variant, more complex:
    #!/usr/bin/sh
    # set_hostname
    # Setting DHCP hostname when not provided from DHCP-server.
    # Make sure you have a "clean" copy of /etc/hosts (fx. /etc/hosts.orig)
    # As this script will clean up and set the hostname in /etc/hosts.
    # The script can be run in hand, or as a startup script in:
    # Solaris 8/9: /etc/init.d; /etc/rcX.d
    # Programmed by: Yngve Berthelsen
    # Date: 20050216
    # E-Mail: [email protected]
    # Last updated: 20050216
    # History:
    ### Variables used in script
    NODENAME="/etc/nodename"
    HOSTALIAS=`cat /etc/nodename|nawk ' BEGIN { FS="." }; { print $1 }'`
    HOSTFILE="/etc/hosts"
    ORGHOST="/etc/hosts.orig"
    HOSTNAME=`/usr/bin/hostname`
    NIC="hme0" # Change hme0 to the DHCP interface NIC
    DHCPNIC="/etc/dhcp.$NIC"
    IPADDRESS=`ifconfig $NIC|grep inet|nawk '{ print $2 }'`
    ### Functions to call
    SetHostname()
    echo "Setting DHCP Hostname: $NODENAME"
    /usr/bin/uname -S $NODENAME
    print "$IPADDRESS\t$NODENAME\t$HOSTALIAS" >> $HOSTFILE
    /usr/bin/hostname $NODENAME
    return
    # main
    case "$1" in
    'start')
    if [ -f $DHCPNIC ]
    then
    if [[ $HOSTNAME == "Unknown" ]]
    then
    SetHostname
    elif [[ $HOSTNAME == "unknown" ]]
    then
    SetHostname
    fi
    fi
    'stop')
    if [ -f $DHCPNIC ]
    then
    cp -frp $ORGHOST $HOSTFILE
    fi
    echo "Usage: $0 { start |stop }"
    exit 1
    esac
    exit 0
    ### This script is submitted to BigAdmin by a user of the BigAdmin community.
    ### Sun Microsystems, Inc. is not responsible for the
    ### contents or the code enclosed.
    ### Copyright 2007 Sun Microsystems, Inc. ALL RIGHTS RESERVED
    ### Use of this software is authorized pursuant to the
    ### terms of the license found at
    ### http://www.sun.com/bigadmin/common/berkeley_license.html
    I use the first, "short" script, it works.

  • Configure Mail to use host name

    Hi,
    I'm trying to configure Mail on a Mac Mini Server. My problem is that I can't get the from email address to show correctly. The host name is demo.company.com, however email arrives with appleserver2.local (domain name). I've setup two accounts - administrator and user. When I send email from administrator to user it shows as coming form [email protected] - what I want it to show is [email protected]?
    I found an article (http://serverfault.com/questions/55342/change-email-domain-os-x-server) which seemed to ask the same question. The accepted answer made some changes to the main.cf file:
    myorigin = $mydomain
    mydestination = $myhostname localhost.$mydomain localhost $mydomain
    After I made the changes I restarted the Mail service, but it didn't solve my problem. I even rebooted the server but no change.
    Also, am I correct in thinking that a user's email address is configured using the Workgroup Manager under the Info tab?
    Mark

    I cannot recommend this, as I am not sure all the intergrations with other apps and databases would work properly, but see:
    http://hintsforums.macworld.com/showthread.php?t=108443
    Are you sure this is worth it?  My Mail folder is a long term archive, and I don't delete many messages.  Yet it is less than 20 GB.  Sounds like other apps and databases will overtake your space savings quickly.
    Ernie

  • How can I get the host name from Email address?

    hi
    When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanks

    Stripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
    http://www.stopspam.org/email/headers/headers.html
    Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
    Sean

  • How can I create a host name site collection when I have a 443 web application already created for App model?

    Hi all,
    I have a 2013 farm set up with the App model
    1 web application for path based site collection using host name
    1 web application with SSL (no host name)
    1 web application for mysite
    My business request is that  I need to migrate SSL enabled 2007 content to this farm and use host name site collections.  I tried to create one more web application for this without any luck (the 443 IIS folder is already used by another web application). 
    I thought I bind the previous 443 web application with another IP address should be fine.  Seems like the IIS site is taken (https://server name:443) so it will not let me create one more.  How can I solve this problem so I can create the web application
    to host those host name site collections?  Any suggestion is greatly appreciated.
    Thanks in advance.
    Sally

    Hi Trevor,
    Thanks again for your quick reply.  I try the option 2 right after your post.  I use my front end server name for public URL (https://WFEName:443) and it fails again.  The error message is:
    The directory C:\inetpub\wwwroot\wss\VirtualDirectories\443 is already being used by another IIS Web Site.  Choose a different root directory for your new Web application.
    After reading more, I saw mix Hosted Name Site collection and Path-based site collection aren't recommended.  Unfortunately I already have Path-based site collection created with App model web application
    (the web application without host name) in my farm.  In my Option 2, that web application without host name is used for App routing.  This takes the root folder 443 which will not allow any other web application to use the same name again. 
    Does that mean we can't create Host Named Site collection in the same farm?  Is there any configuration I need to check?
    Thanks again.
    Sally

  • Domain name/"primary DNS" name/mail host name/mail server name/mx name

    Hi,
    I have registered my domain name (N.com) with an external dns server and created an MX record (mail.N.com) for it as well. My server sits behind a router and internet traffic is port(80)-forwarded to my server's fixed internal ip address (I can access my webpages from the internet just fine). When I initially setup the server I was asked to give it a "primary DNS name." I naturally assumed that N.com was supposed to be entered here, but that just caused all kinds of problems (though I still do not understand why). So I reinstalled and currently have server.N.com as the primary DNS name of the server (although it shows up in Server Admin and Workgroup Manager as server.local--why is that?)
    I have had no luck getting any email from the internet with the default settings in mail services (domain name of N.com and host name of server.N.com). Having no luck with the defaults, I assumed that maybe I needed to change the host name to "mail.N.com" so that it matched the MX record. I also changed the user preferences in Workgroup Manager to receive mail from mail.N.com--but still no luck. Could someone tell me what I am doing wrong and how come none of the Mail Service literature mentions anything about what a mail "host name" is supposed to be? Is it supposed to be the same as the "Mail Server" name that Workgroup Manager asks each user for? and is it the same as the MX record name?
    I am just needing some help to connect all these variously named, but undefined, dots.
    Also, how come I can access webmail from the internet using www.N.com/webmail but can't do it from any computers within my physical network (I have to use IPaddress/webmail or server.local/webmail)?
    Also, should my user email addresses be [email protected] or [email protected] (which is the current default)?
    Thanks in advance and good luck!
    John

    I had been told by a friend that ... regular email coming in from the internet would go through port 80
    Unfortunately you were misinformed.
    My MX record needs the extra subname (such as "mail") in front of the domain name, right?
    Not at all. A MX record for 'N.com' is entirely valid (expected, in fact).
    An MX record tells remote mail servers where to send mail for any domain/subdomain. If you think about it, let's say you worked for Apple and you wanted people to be able to send email to [email protected], well then you need an MX record for 'apple.com'.
    You can see if you dig MX apple.com that they actually have 9 MX records, but the point still stands.
    Now, you might also have MX records for subdomains so that you can have [email protected], [email protected], [email protected], etc. Each of these subdomains would need a separate MX record.
    So, in general, for any set of email addresses @[anything.]domain.com you have a MX record telling remote mail servers where to send that mail.
    Of course the MX record name is mail.N.com, but I think you are implying that the in the Mail settings of Server Admin where it asks for domain name all I need to put there is the N.com, right?
    What I mean is that you need to set the domain name to whatever domain name you expect to receive mail at.
    If you want users to have email addresses in the form of [email protected], then you enter 'N.com'.
    If you want users to have email addresses in the form of [email protected] then you enter 'mail.N.com'.
    If you want both forms, enter one in the main domain and add the other(s) in the Advanced -> Hosting -> Local Host Aliases section.
    Is there anything in the Mail settings that needs to have the full MX record name (mail.N.com)?
    Yes. Either the 'domain name' or the 'Local Host Aliases' needs to contain the same thing as your MX record. That's because the MX record tells remote servers to send mail to this machine, but the machine won't accept the mail unless it is configured to do so.
    What is the "host name" supposed to be?
    This should be the name that remote servers see when this machine tries to send outgoing mail.
    Ideally this should match the reverse DNS of your IP address, that way when it connects to a remote server it says "Hi, I'm $hostname" and the remote server can lookup the machine's IP address and see the same result. This will reduce the problem of remote servers thinking you're sending them spam.
    If you only have a single IP address then this probably needs to be something like 'N.com'. If you don't have control over your reverse DNS then you're going to run into a problem.
    Also in the user accounts (in Workgroup Manager) what should the "mail server name" be? Is it the host name or the domain name?
    Off hand, I don't know.
    Also, why are all the default user email addresses [email protected] (the name I gave the server at setup)? Why doesn't the user accounts create [email protected] as the default address?
    Presumably because the mail server says it is 'server.N.com' and therefore any accounts on that machine would be [email protected]. Changing the domain name (as above) should fix that.

  • Windows 8.1 will not see the Printers host name or ip address

    I have tried installing an OfficeJet Pro 8615 on two different Windows 8.1 computers (wireless)  but did not connect.  Pirnter is connected to network wireless (192.168.111.153). Router is 192.168.111.1. The printer was installed from a Vista (wired) desktop and it connected and printed fine. Both 8.1s can ping router but not the printer. Host name install does not work either. Router is a new Cisco RV180w. It works fine everywhere else. Printer wireless power is 5 of 6. Have looked for shared devices setting on Win 8.1 but have not found it yet. Win 8.1 computers are both 64bit and the install download showed 64x. I am running out of things to check. Can anyone help me? Win 8.1 computers sees other devices on the network but not the printer. Print & Scan Doctor does not see the printer either.
    Now I am having the same problem with a Win7 (64) install. It can't see it either. Once I plugged this one into the network then it saw the printer and installed and printed. But if I unpluged the network wire and made it wireless then it stopped seeing the printer. So I am having some  kind of a wireless issue.

    Hi @EdEdata ,
    Thank you for visiting the HP Support Forums and Welcome. Thanks for all the details of what you have done and the restuls. (Very helpful) I have read about your HP OfficeJet Pro 8615 Printer not connecting wireless and is not seen by the Print and Scan Dr. Here is a document on printer does not keep a wireless connection.  Try assigning a Static IP address. You might have to change the channel.
    Make sure your computer is connected to 802.11b/g/n wireless router over a 2.4 GHz connection. NOTE: HP Printers are currently not compatible with 802.11n 5.0 GHz networks. This HP document here, explains about a printer wireless.
    If this does not help you, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link to get the support number for your region.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for