Local DNS setup (sync host names with router?)

I'm setting up dns on a mac mini running lion server.  My goal is to be able to ping host.domain both in my home, and remotely via vpn.  I could enter each record manually, but I'd like to have each hostname added automatically (I want to be able to ping machines that are joined to my network by host.domain.)
I found that if I host DHCP on the server, then I am able to achieve my goal.  However, I'd like to avoid losing DHCP services in the event of a server outage.  Is it possible to have dhcp hosted on the router, dns on the server, and have my dns wishes fulfilled? 

If I understand your requirement properly then the answer is yes. However if your server has an outage then even though your DHCP will continue to work via the router, your DNS server and hence DNS lookups would not meaning that pinging host.domain would fail, on top of that a server outage would mean your VPN server would also potentially be affected although in that case some routers can act as a VPN server as well.

Similar Messages

  • Removing the .local part of my host name.

    I can figure out how to remove .local from my servers host name. I am running a simple personal server so I don't have a domain of my own.
    It hasn't been an issue, but recently I have started trying to run the SlimDevice Server on my OSX Server.
    Anyhelp would be greatly appreciated. I'm hoping I don't have to restart.
    -Hays

    Not having or creating a DNS presence resorts to the use of .local domains for simplified network discovery. I you do not want to use .local domains, configure DNS on the server. You do not need to use a valid domain unless you are hosting mail (assuming you are not based on description of .local use). Simply create something that will not conflict with existing TLDs such as myserver.int or myserver.osx. Basically you will need to create a zone and an A record (with PTR auto-create checked). Test name and number resolution with nslookup and then configure your server to query itself.
    You will likely need to use the changeip command but if your services are few then you can probably ignore the two errors every few minutes in system log.
    Hope this helps

  • The host name cannot be resolve ? ( with linksys router )

    Hi all, I have some problem with setting up a network. I tried to set my network according to http://wiki.archlinux.org/index.php/Configuring_network   the network/internet is fine except the host name with "http://" cannot be resolve. For example
    ping 216.239.61.104
    ping www.gogle.com
    both work fine, until I try,
    ping http://www.google.com
    it give me error, tell me that the hostname cannot be resolved. I tried to config my network using both dhcp or fix-ip, but the problem still present in both way. Internet works fine in windows/ubuntu.
    Anyboy has any clue ?  The router I use is wrt54gl with tomato firmware.
    thanks in advance.

    kowalski wrote:
    Hi,
    if pinging www.google.com works then dns resolving _does_ work. Why would you want to ping http://something?
    You should try opening http://whatever in a browser not pinging it from command line.
    Or am I missing something obvious?
    Yes, for instance, all mirror list for pacman is in "http://...." or "ftp://...." form. I could easily change the repository list, but I'm not sure if it'll have same problem in future with other program.  Also, if it work in ubuntu and windows, why not arch.

  • Can you refer to the original host name when using a challenge redirect?

    I have an authentication scheme that uses a challenge redirect to cause authentication to happen using https instead of http. However, this seems to break some of our monitoring scripts because now the credential challenge is coming from a different host name. Is it possible to refer to the original host name with some type of variable in the challenge redirect parameter? Below is an example:
    1. User accesses secured URL at http://appstenv2.company.com/testurl
    2. This webserver is hosting several aliases (appstenv2.company.com, appstenv4.company.com, appstenv6.company.com) and has a main name of appsdev.company.com - but is a single apache webserver where there is an application server plugin installed which will route to the desired application server environment based on the original hostname. So if a user accesses it with a name of appstenv2.company.com/testurl they will be routed to the "test 2" environment application server. If they access it as appstenv6.company.com, they would be routed to the "test 6" environment application server.
    3. This webserver listens on both http and https.
    4. The current challenge redirect can only redirect to a specific URL so it is set to "https://appsdev.company.com" which works fine interactively but the recorded monitoring scripts suddenly see a new hostname doing the prompting for credentials even though it is the same webserver - just a different alias.
    5. If possible, I would want to do the redirect in a relative fashion rather than absolute by using the original hostname from the URL being accessed. So, if the user was accessing http://appstenv2.company.com/testurl, I would like to redirect to https://appstenv2.company.com for the basic authentication. but with the same authentication scheme, if the user accesses http://appstenv6.company.com/testurl, I would want the challenge redirect to go to https://appstenv6.company.com. I'm hoping it's possible to use some system variable like SERVER_NAME to do this.
    Challenge Redirect: https://$SERVER_NAME
    Does anyone know if that is available in OAM 10.1.4.3 or some other way to accomplish the same thing with a single authentication scheme?

    No, there are not multiple policies - the host names for all aliases on that single webserver are together in a single host identifier. And I realize I can only have a single challenge redirect, I just want to use a variable to redirect to the host name that was accessed as opposed to a static name.

  • E3200 - mapping host names to ip addresses

    I used to use a netgear wgt624 and it mapped host names connected to the router to their ip addresses. This way if I was on server1 I could ping server2 by name and it would translate the name to the ip address. This feature doesn't seem available on the e3200. Actually only the wired servers have this problem. Wireless machines do show up listed in the router. Is there a way to have the router automatially associate a host name with an ip address for wired macines?

    Before I suggest you any troubleshooting steps, I would like to ask few questions. Like can you able to ping the server2 from server1 and vice-versa. Does the DHCP client table show the entire wireless network in the list? Let me know what IP address gets assigned in both the servers?

  • Custom host-name for web application SharePoint 2010

    I am facing a weird behavior. Can anyone help me regarding this?
    Steps performed:
    1. Created a web application using custom host name.
    2. Created a site collection using "Blank" site template. Nothing issues.
    3. Created another site collection using "Publishing" site template. Authentication prompt came multiple times. IIS logs/Fiddler/HTTP Watch are full with 401 entries.
    4. Added the custom host-name with web server IP in local desktop hosts file(which is in intranet domain). Prompt issue fixed.
    5. Authentication mode set as NTLM. 

    Hi DDasgupta,
    After you created a web application with a custom host name, if you got a prompt for the user and you may face the following issues:
    There is continuous prompt for the credentials
    HTTP 401.1 error
    This shows that there is a problem with the Loopback configuration. This situation should occur only when we access the application from the server machine.
    For fixing the problem, we have to disable the Loopback value inside the registry.Open the Registry Editor (regedit.exe) and locate the following key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, and create a new Key Value of type DWORD inside
    it and set the value to 1.
    More information, please refer to the link:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-creating-host-name-for-web-application/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Technical Monitoring for Logical host name

    Dear experts,
    We are in mid of technical monitoring finalisation.
    one of the interesting thing which i found with respect to the logical host name, we installed SMD agent on Virtual host name and our system is not with HA environment and no clustering. It is just a system with single instance.
    During the managed system configuration all the physical and logical host name reported by SMD autodiscovery, all went fine. But in Technical monitoring shows only virtual host name with the updated alerts , and logical host name only shows grey alert.
    virtual host shows alert here
    logical host name shows grey
    how can i get alert displayed for logical host name too? do i need to do some settings at the OS level , could you guide us?
    Thanks
    Jansi

    Hi Giri Raju Ayyagari,
    I am sorry, seems you are still not able to get my issue, moreover you get diverting my issue
    Here the problem is not at all related to agents on fly. thats the separate topic.
    We are having issue on Logical Host names where there is no HA environment, means only One logical host name created.
    I raised to SAP, l will update once the update from SAP given.
    Best regards
    Jansi

  • Get host name.

    Hi all,
    I have my applet which connects to a server. Obviously for security i can only download it from the machine it came from.
    Currently im passing in the host name as a param.
    Is there a way to find out the host name with out using a paremeter? I will always be running from the host machine the applet came from anyway.
    Has any1 got any ideas?
    Thanks

    You can extract the host name from the URL returned by the method getDocumentBase().

  • Host name

    How do I change the Host name with out rebuilding the machine.

    Hi,
    I would suggest you can use sys-unconfig utility & then do a reboot. A good information about explaining this can be found in information document 12027. Have look on section 2.1 & 3.1 which will help you. You can get this on http://sunsolve.sun.com.
    Thanks,
    Santosh

  • Host Name Configuration for Ironport

    Hi,
    I want to configure one host name with two ipaddress.
    Which record we can create??? 
    If both the IP's in Domain, we can achieve this??? 
    Thanks in advance 
    Regards, Hari Prasad.D

    Hi Hari,
    If we creat CNAME record, we can map multiple FQDNs to single IP address.
    If we want to map multiple IP addresses to single FQDN, just create two A records with same name, then point them to different IP addresses.
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Change of database host name

    Hi,
    Recently we moved our database servers from IBM to exadata. This caused change in the host name of database. For this we reconfigured all the EPM (11.1.2.2) applications with new host name (with option to reuse existing tables). While reconfiguring we created new instance and new domain and configured everything in new domain, keeping old instance and domain untouched. However now when we log into HFM we are not able to see any applications nor any data.
    Please suggest what to do?
    Thanks in advance.

    The process for rehosting a database is outlined at :
    http://docs.oracle.com/cd/E40248_01/epm.1112/epm_deployment_options/ch04s03s02.html
    http://docs.oracle.com/cd/E40248_01/epm.1112/epm_deployment_options/ch04s03s03.html
    There is no need to create a new epm instance and weblogic domain
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • OSX Server DNS Setup

    Hi Folks,
    I am hoping someone out there can assist as its almost 2AM and I am still trying to get this thing working. I have a MacMini running OSX Server. I have 5 Mac Clients on my network and the purpose is basic file sharing, iCal, Address Book etc etc. I want to have a Local DNS service to resolve names on the LAN and have it forwarded to my ISP to resolve those its not authorative about.
    I have configured the server to the point where it will:
    - Resolve DNS queries from clients for addresses it is not authorative about by using the forward DNS servers.
    - Resolve reverse queries eg: nslookup 192.168.1.100 (fixed ip for my srvmacmini)
    But it will not resolve local hostnames, for example:
    watsonad-mbpro:~ watsonad$ nslookup 192.168.1.100
    Server: 192.168.1.100
    Address: 192.168.1.100#53
    100.1.168.192.in-addr.arpa name = srvmacmini.anthonywatson.net.au.
    watsonad-mbpro:~ watsonad$ nslookup srvmacmini
    Server: 192.168.1.100
    Address: 192.168.1.100#53
    ** server can't find srvmacmini: NXDOMAIN
    Looking into the logs which I have set into debug mode, I can see the following:
    <truncated>/IN/com.apple.ServerAdmin.DNS.public: has no NS records
    Now - I have tried recreating the zone entries, I can see them listed in /var/named/zones in the right db.* files and have walked through that configuration.
    I have set the DNS entry for the server itself to 127.0.0.1 and numerous other suggestions I have seen in the posts here but just cannot seem to get this working.
    Am hoping the guru's here can assist - ready and willing to trawl through logs etc if more info is needed. I can see others have had this problem but cannot seem to find the post where it got resolved in a way I could repeat the same steps.
    Cheers

    Looks like this ones not yet solved - I change the DHCP server from 127.0.0.1 to 192.168.1.100 and renewed the lease to refresh the settings:
    watsonad-mbpro:~ watsonad$ hostname
    watsonad-mbpro.anthonywatson.net.au
    watsonad-mbpro:~ watsonad$ nslookup watsonad-mbpro
    Server: 192.168.1.100
    Address: 192.168.1.100#53
    ** server can't find watsonad-mbpro: NXDOMAIN
    watsonad-mbpro:~ watsonad$ nslookup 192.168.1.16
    Server: 192.168.1.100
    Address: 192.168.1.100#53
    16.1.168.192.in-addr.arpa name = watsonad-MBPro.anthonywatson.net.au.
    watsonad-mbpro:~ watsonad$
    So here are the zone entries, now these have all been created by server admin utility - below is the db.anthonywatson.et.au.zone.apple file , the one in the "named" directory points to this one of course:
    ;GUID=3B5D7974-F072-4F38-B319-76FCFB4CCF1E
    ;selfResolvingHostname=0
    $TTL 10800
    anthonywatson.net.au. IN SOA 127.0.0.1 Anthony.anthonywatson.net.au (
    2011012912 ;Serial
    86400 ;Refresh
    3600 ;Retry
    604800 ;Expire
    345600 ;Negative caching TTL
    anthonywatson.net.au IN NS 127.0.0.1
    watsons-imac.anthonywatson.net.au IN A 192.168.1.51
    watsons-imac.anthonywatson.net.au IN HINFO "iMac 27" "OSX Snow Leopard"
    watsonad-MBPro.anthonywatson.net.au IN A 192.168.1.16
    watsonad-MBPro.anthonywatson.net.au IN HINFO "Macbook Pro 13" "OSX 10.6 Snow Leopard"
    srvmacmini.anthonywatson.net.au. IN A 192.168.1.100
    srvmacmini.anthonywatson.net.au. IN HINFO "Mac Mini" "MAC OSX Server 10.6"
    watsontm-MBPro.anthonywatson.net.au IN A 192.168.1.26
    watsontm-MBPro.anthonywatson.net.au IN HINFO "13 Macbook Pro" "OSX Snow Leopard"
    lb.dns-sd.udp IN PTR anthonywatson.net.au.
    b.dns-sd.udp IN PTR anthonywatson.net.au.

  • How do you setup a user mobile account, with the home directory stored locally and not synced to the server?

    I want to be able to setup a user mobile account, with the home directory stored locally and not synced to the server.  What is the best way to do this? I am running Server 10.6 with 10.6 clients.  Open Directory will be used to authenticate and manage preferences.   Also, this one account will be used simultaneosly in a computer lab setting, so files will be stored locally in the client, hence the need to NOT sync to the server.  Any Ideas? 

    currofelix wrote:
    So what does WGM Look like in the Home Tab? afp://servername.domainname/Users? or afp://Users?
    The attached screen shots should help you:
    You will only have to do this step once. Obviously you want to use the user's shortname here.
    Then, you will see this as an option in WGM:

  • DNS or Local Host Name Issue

    I have an iMac, 10.6.2 that continues to get a duplicate IP address error. I have determined that this iMac is seeing itself as another machine on the network, hence the duplicate IP error. I have changed the local host name under system preferences -->network (and in sharing) to imac10.6.2-username However, on the WINS tab of system preferences-->network the computer name shows as imac 9B14C4. I have manually changed this on the WINS tab and but it doesn't actually change it. I have flushed DNS and used the scutil--gethostname command to no avail. Additionally, this iMac does not show up when browsing the network from any machine on the network. All other Macs here do. Any suggestions?
    Message was edited by: EricWeiner
    Actually I can browse to it through the network by either the DNS name or the WINS name, even though I tried to make them the same.

    I use a Mac mini as a small AV server, and have exactly the same issue. Message keeps popping up at least once a day. Changing name in Preferences doesn't make any difference. After a few weeks it's gone from 'Centerstage' to 'Centerstage-8'. I even formatted the HD and installed Leopard and after that Snow Leopard. Didn't solve anything. Very irritating. Apple only recognizes this as a Mac OS X server issue.
    Help.

  • 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.

Maybe you are looking for

  • I cant do updates on my itunes due to a license error

    I had updatesd on my itunes it will not load , i get a message that my license is in error

  • Tracking Pass/Fail on LMS

    I am trying to track pass/fail on a Captivate project and I am having difficulties with the LMS. It is tracking as completed after just the first slide, before even taking the quiz. I have my quiz settings set to report "Quiz results only", Pass/Fail

  • Indesign CS6   File Open Fail

    I just upgraded to Mountain Lion OSX 10.8  about 2 weeks ago and was running Indesign CS5.5 fine before the update. Started to get program crashing issues before I even updated the OS, then after, I upgraded to CS6 and now am getting crashes everytim

  • Code explanation help

    Declare CURSOR curEMP is      Select Empno,Fname,Lname,Sal From Emp; varEmpno Emp.Empno%type; varFname Emp.Fname%type; varLname Emp.Lname%type; varSal   Emp.Sal%type; varUname Emp.Uname%type; varpwd   Emp.pwd%type; Begin Open curEMP; If curEmp%ISOPEN

  • Import iMovie Project containing map animations

    How can i import my iMovie projects without losing map animations? Is there an addon, plugin or something like that?