Current HostName different to DNS HostName

hi,
I am/have changed my machine name but the DNS HostName is still showing as the old name when I do a "changeip -checkhostname".
I believe this is automatically set by doing a reverse DNS lookup. What I want to know is how do I correct that so it updates to the new name?
Thanks,
Regan

look at the manual page for changeip
man changeip
changeip /LDAPv3/127.0.0.1 192.0.0.12 192.0.1.10 oldhost newhost
This would prepare for changing the address of a
machine hosting an LDAP master. Note that it might
still be necessary to change the configuration of
machines pointing to this master.
changeip - 192.0.0.12 192.0.1.10 oldhost newhost
This would prepare for changing the address of a
standalone server.
changeip /NetInfo/root/netinfonode 192.0.0.12 192.0.1.10 oldhost newhost
This would prepare for changing the address of a
server bound to a parent NetInfo node.
changeip /NetInfo/root/netinfonode 192.0.0.12 192.0.1.10
Same as above, but where the old and new IP
addresses map to the same name.

Similar Messages

  • New User: Current HostName, DNS HostName Don't Match?

    I have Leopard Server setup on a Mac Mini as a test platform before we migrate from our old windows server. I have read Antonio Rocco's excellent DNS setup tutorial (http://discussions.apple.com/thread.jspa?threadID=1251475) and Wazza's Quickstart Guide. However, when I run 'sudo changeip -checkhostname' my current hostname and dns hostname come up slightly different eg
    Current HostName: miniserv.xxxxxx.net
    DNS HostName: MiniServ.miniserv.xxxxxx.net
    In Server Assistant, I setup my Primary DNS Name as 'miniserv.xxxxxx.net' and my Computer name name as 'MiniServ'. As you can see, my DNS HostName has both my computer name and dns name listed together.
    1) Is this normal? I assume not as all the examples I have seen show the DNS hostname and current hostname listed exactly the same.
    2) Can you point me in the right direction on how to go about fixing this.
    Thanks alot!

    I have a tendency to set the machine name for server as the same FQDN as setup in DNS. Set them both the same, reboot and see if things work better.
    Please remember: the #1 thing to do to make Mac OS X Server work properly is DNS. Without properly working forward and reverse DNS records all bets are off.

  • How to find out the current hostname?

    How do I find out the current hostname for a given SoaSuite installation?
    Peter

    You can check the WSDL of any of your BPEL processes on BPEL console.

  • DNS resolution on Anyconnect - multiple different internal DNS servers

    All,
       We have multiple different internal windows AD domains within our network, that currently do not replicate their DNS zones between them.
    Is there anyway with an ASA/anyconnect VPN to create a configuration so the ASA inspects the DNS lookups from a user connected via the anyconnect VPN client, and route it to a defined internal DNS server?
    For example I have three internal AD domains site1.com with a dns server ip of 1.1.1.1 , site2.com 2.2.2.2, site3.com with a dns server ip of 3.3.3.3, when a user VPN's in and performs a dns lookup for the name server1.site1.com the ASA see's it is for site1.com and routes the lookup to 1.1.1., however when a user performs a dns lookup for server1.site2.com, the asa see's its is fro site2.com and routes the DNS lookup to 2.2.2.2.
    Any thoughts on alteratives to over come the problem also welcome and/or if anyone can point me to a link that explains the function of "mulitple DNS server groups, which is located in the ASDM interface under Remote Access VPN->DNS (as I have not been able to find a plain english explanation of the function as I am unsure if this does what I am looking for)
    Thanks

    Hi Dominick,
    I have a solution for your problem. You will need to log into the CLI of the WSA and issue the following commands:
    s370r01.csw> dnsconfig
    Currently using the local DNS cache servers:
    1. Priority: 0  10.9.8.8
    Choose the operation you want to perform:
    - NEW - Add a new server.
    - EDIT - Edit a server.
    - DELETE - Remove a server.
    - SETUP - Configure general settings.
    - SEARCH - Configure DNS domain search list.
    []> localhosts <----- Hidden Command
    Local IP to Host mappings:
    Choose the operation you want to perform:
    - NEW - Add new local IP to host mapping.
    - DELETE - Delete an existing mapping.
    []> new
    Enter the IP address of the host you are adding.
    []> 10.1.1.1 < -------- IP of the M series
    Enter the canonical host name and any additional aliases (separate values with spaces)
    []> Host name of the M series. Hit enter until you get back to the command prompt and type commit then enter.
    Sincerely,
    Erik Kaiser
    WSA CSE
    WSA Cisco Forums Moderator

  • Different SBA DNS SRV entry for the same dns zone?

    Hello,
    I got here a testlab with one enterprise pool and one sba deployed. The Branch Site got also an DNS Server installed. Both are using the same dns zone "test.com".
    Of course now i got different server for the same SRV Record _sipinternaltls._tcp.test.com - one for autodiscovery in the enterprise pool and one for the sba. Also I want to add the second one as failover srv + the DNS Server in the Enterprise Pool should
    be used as a Forwarder.
    Now I got some issues how to deploy several entries on two different dns server for the same zone.
    1.) If I add manually the same zone + DNS SRV entries on the SBA the dns is somehow not resolving/forwarding the entries on the other dns server in ee to other servers which are not on my SBA dns.
    2.) If I only pinpoint the SRV entries for _sipinternaltls._tcp.test.com (one for sba and failover for ee site) the dns won't resolve the second a record to the enterprise pool.
    What is the Best Practise for DNS SBA? Always point to the enterprise pool and, therefore, no other configuration is needed?
    Regards DrWho

    I played a little bit around. Problem was that I can not add the pinpoint dns srv entries via gui. Aditionally the tutorials did not work as my DNS server for SBA is not on a domain controller. In the end I did this:
    sbafe -> fqdn of my sba
    eefe -> fqdn of my frontend of enterprise pool
    dnscmd . /zoneadd _sipinternaltls._tcp.test.com. /primary /file _sipinternaltls._tcp.test.com.dns
    dnscmd . /recordadd _sipinternaltls._tcp.test.com. @ SRV 0 0 5061 sbafe.test.com.
    dnscmd . /recordadd _sipinternaltls._tcp.test.com. @ SRV 10 0 5061 eefe.test.com.
    dnscmd . /zoneadd sbafe.test.com. /primary /file sbafe.test.com.dns
    dnscmd . /recordadd sip.sbafe.test.com. @ A 192.168.10.220
    dnscmd . /zoneadd eefe.test.com. /primary /file eefe.test.com.dns
    dnscmd . /recordadd sip.eefe.test.com. @ A 192.168.0.40
    Question is if that is a good best proctise or should the dns server within a zone contain the same records (Primary/Backup). The Client will then always hit the FE of the EE Pool first.
    Also its quite a lot of work to setup.

  • Lookup and ping different after DNS flush ...

    Could somebody help me here please...
    <code>
    macbook-2:~ steve$ dscacheutil -flushcache
    macbook-2:~ steve$ dig www.stephan-zehrer.de
    ; <<>> DiG 9.4.3-P1 <<>> www.stephan-zehrer.de
    ;; QUESTION SECTION:
    ;www.stephan-zehrer.de. IN A
    ;; ANSWER SECTION:
    www.stephan-zehrer.de. 85315 IN CNAME ghs.google.com.
    ghs.google.com. 2375 IN CNAME ghs.l.google.com.
    ghs.l.google.com. 284 IN A 74.125.43.121
    macbook-2:~ steve$ ping www.stephan-zehrer.de
    PING www.stephan-zehrer.de (84.38.66.166): 56 data bytes
    64 bytes from 84.38.66.166: icmp_seq=0 ttl=55 time=24.970 ms
    </code>
    some comments:
    I updated yesterday the DNS entries for this domain (to google site). Today I still see the old page in Safari,Firefox and Chrome (Beta) on my Mac (which run on my server with the ip 84.38.66.166)
    e.g. in Windows 7 in a Fusion VM I see the new page.
    I only found some hints about flush the DNS cache but as you see it did not help.
    Is there a problem with my DNS setup or an other thing I missed?
    THX
    Stephan

    Hi Stephan
    DNS looks good, as far as I can tell. You need to tell Google (blogspot, I assume?) that it has to serve the respective page when asked for www.stephan-zehrer.de via CNAME. But I bet you did that, as I see 74.125.77.121 answering when opening the page in Firefox (using a nifty little plugin called DND Domain Details).
    The flushcache command is also correct... Do you use a proxy from where you try to access your page? A lot of universities do that, so you might want to talk to the local system administrator and ask him when he thinks the proxy refreshes the page.

  • Can I ask, if my wife and I have seperate profiles set up on a windows laptop and are currently using different libraries on iTunes, can we use the same library? It seems a terrible waste of space if there are artists we both want to listen too.

    Is this purely a copyright issue? For instance, I gifted her an iTunes album at christmas, so if we were to link to one library, I shouldn't be able to listen to this should I? I have about 160 albums in my library, and she has about 300 individual tracks in hers. Our tastes overlap, and music takes up space on my hard drive, so surely she should be able to link to my library too... or is this just a can of worms in waiting...

    You can share your libraries within the same household:
    http://support.apple.com/kb/PH1455?viewlocale=en_US
    And here:
    http://support.apple.com/kb/PH1453?viewlocale=en_US

  • How do I combine projects that are currently on different computers?

    I am teaching a TV production class with virtually no knowledge of Premiere Pro.  I have students working at four Mac stations.  Is there a way to combine the four projects into one?

    First of all, it's always a good idea to report exactly which version of Premiere you're using--not merely "CC" or "CS6" but the actual version number, like 2014.0.1. The workflow you're asking about happens to have changed considerably over the course of recent releases.
    Premiere allows you to import a whole project or sequences and other content from a project into another.
    Open or create the sequence into which you want to import.
    In Media Browser, find the project to be imported.
    To import the whole project, either drag it from Media Browser to Project panel or right-click it and select Import. In the dialog that pops up, select Import Entire Project.
    To import sequences you can either (a) select Import Selected Sequences in the dialog mentioned in the prior step, or (b) double-click the project in Media Browser, wait for the project's contents to be displayed, and then pick and choose the sequences and other contents to import.
    When you import a sequence, Premiere automatically brings in all assets used in that sequence.
    Where things might get complicated is the location of the actual content--the files on disc. If the clips are stored on each of the 4 workstations, then you'll probably want to copy them to the one that's home to the new project and then relink to them in their new location.

  • AIR and Flex differed about DNS Resolver?

    It is an interesting problem.
    The code is running well in Flex, it can send and get data from the server. but fail in the AIR(IO ERROR).
                import flash.events.*;
                import flash.net.*;
                private function initPanel():void
                    var stream:URLStream = new URLStream();
                    var req:URLRequest = new URLRequest();
                    var temp:URLVariables = new URLVariables();
                    temp.type = 1;
                    temp.wd = "125a100a125a101a";
                    req.url = "http://hw.baidu.com";
                    req.method = "POST";
                    req.data = temp;
                    stream.load(req);
    Tested in: Win2003, Flex builder 4.0.1, Flash Player(WIN 10,1,53,64)

    Hi Richard,
    First of all, welcome to the AIR / Flex community.
    Secondly, learning Flex is easy. Start off with the "Flex in
    a week" video training (
    http://www.adobe.com/devnet/flex/videotraining/).
    In general,
    http://www.adobe.com/devnet/air/
    and
    http://www.adobe.com/devnet/flex/
    are great resources.
    If you have any issues, use
    http://community.adobe.com/ion/search.html
    to search for material. Still no luck, post here and we'll
    definitely help you out.
    P.S: You can even build AIR apps from Flash (
    http://www.adobe.com/devnet/air/flash/)

  • How does changeip determine the dns hostname?

    Hello,
    i've been trying to setup my 'test' server at home according to the info i find online.
    one of the first parts is setting the hostname. It is recomended that you use something like
    server.myowndomain.com
    when i use sudo changeip -checkhostname i get
    Primary address     = 192.168.xx.xx
    Current HostName    = server.myowndomain.com
    DNS HostName        = myowndomain.com
    To fix the hostname please run changeip for your system with the
    appropriate directory with the following values
       /Applications/Server.app/Contents/ServerRoot/usr/sbin/changeip 192.168.xx.xx 192.168.xx.xx server.myowndomain.com myowndomain.com
    dirserv:success = "success"
    at my external dns control panel there are 2 A records for my domain name
    localhost
    A
    127.0.0.1
    server
    A
    78.xxx.xxx.xxx
    when i ping from a remote location i get results for both myowndomain.com and server.myowndomain.com
    i had my server working when i used myowndomain.com as hostname, but everywhere i read it says you should use something like server.myowndomain.com as a hostname.
    Is there an other tool i can use to check what dns hostname i'm having?
    can someone shed some light on this for me please?
    thanks
    Marco

    If you are setting up your server on your LAN, then you need to support what is called split horizon DNS.  This means that you need to run a public DNS (which you have based on the ("at my external dns control panel there are 2 A records for my domain name") and you must run DNS on your LAN as well.  The reason for this is simple.
    When running your server on a LAN behind a firewall, your server has two identities.  The first identity is its LAN address.  As above, this is something on the 192.168.x.x network.  This is a private address range and can not be used for public routing.  The second identity is that of the public Internet.  As above, this is represented by the 78.x.x.x address that is the public address used by your firewall.
    When users on the LAN reference your server, they will need to reference it by the 192.168.x.x address.  When users externally want to access it, they will need to route to the 78.x.x.x network.  Thus, the need for two DNS entries.
    Now, the DNS entries are commonly the same.  The difference is the number assigned to the record.  For example, server.myowndomain.com will point to 192.168.x.x on your LAN and server.myowndomain.com with point to 78.x.x.x on the WAN.
    Other ways to check DNS would be to use nslookup or dig.  Also, check the server's network preference panel and look at your DNS entries.  The first entry should be a 192.168.x.x address and it should be pointing to a DNS server on your LAN.  This could be you server or it could be another device that is already running DNS.
    DNS is considered the foundation service for OS X Server.  However, it all depends on the services that you are running.  For Open Directory, Profile Manager, and others, DNS is critical.  Failure to implement it properly will give you nothing but headaches and likely cause future service deployment issues.  However, if you are just hosting a bunch of web sites, then DNS is not as critical, especially if the server is deployed on a LAN with no clients.
    As a note, if you were running your server with a public address, you could use BIND views.  However, this is not advisable for security reasons.
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • How to repair DNS hostname?

    Hello,
    I had a working DNS setup with the right Primary address, Current HostName and DNS hostname. While figuring out how to use the Print service my DNS hostname changed. I suspect that when I was adding a printer IP to the DNS list something went wrong. After that the DNS hostname must have changed to the name of the mail server. I discovered that, because I could not access the internet anymore and did a 'changeip -checkhostname' to check the settings. I thought that it was simple to delete the mail-server from the dns list to get the right DNS hostname back. But that's not the case.
    After putting in the mail server address the mail did not function either. So my DNS is mess now.
    I tried searching in the support discussions for a way to repair this, but could not find an answer that fits the situation.
    I am in the middle of a swith over and because everything was working (except the printers) I decided to move all data and mail from the old Windows servers to the new Mac servers. Because the system is in use now for a week I can't simply switch back. So I am stuck in this situation and desperate. Yes, I made a classical mistake not to backup first the working servers. But that happens when you are in a rush to get this done. This is my first Apple server experience and was very happy I came this far with the available Apple docs and discussion support.
    Server network situation:
    - Mac Mini server1 (en0:10.0.0.1, en2:191.168.0.128 (USB-adaptor)) configured as DHCP, NAT, FireWall and secondary DNS
    - Mac Mini server2 (10.0.0.2) configured as Primary DNS, Mail, Open Directory, AFP and SMB
    I configured with non-authorative domainname (say mydomain.nl). In the near future I will have a fixed IP-address so the domainname can be used from the internet.
    changip -checkhostname on result:
    Primary address = 10.0.0.2
    Current Hostname = hollandia.mydomain.nl
    The DNS hostname is not available, ...
    scutil --get LocalHostName = DeHollandia
    scutil --get Hostname = hollandia.mydomain.nl
    dig -x 10.0.0.2
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id:3354
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;2.0.0.10.in-addr.arpa. IN PTR
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    DNS configuration:
    -mydomain.nl
    hollandia Machine 10.0.0.2
    beschermer Machine 10.0.0.1
    mail Machine 10.0.0.2
    -0.0.10.in-addr.arpa.
    10.0.0.1 Reverse Mapping beschermer.mydomain.nl
    10.0.0.2 Reverse Mapping hollandia.mydomain.nl
    Hopes the above info is a start to the solution.

    Solved.
    After some study of DNS examples I manually edited the file /var/named/zones/db.0.0.10.in-addr.arpa.zone.apple.

  • Hostname resolution question. Could it be DNS?

    I've recently installed 10.5 Server on my Mac. I named the machine Silkworth, but when I run changeip -checkhostname I get the below. I do I get back to the hostname w/o ".local"?
    Silkworth:etc waynehapp$ sudo changeip -checkhostname
    Primary address = 192.168.1.100
    Current HostName = Silkworth.local
    The DNS hostname is not available, please repair DNS and re-run this tool.

    If you go to terminal and type in *host servername* does it resolve your ip? If you type *host yourip* does it resolve your server name? This is how you check to see if DNS is working properly. If it does, then DNS is working. If it doesn't you have a problem. Make sure under setting in the DNS service that you have added your ip range into the recursive section. For example you might enter 192.168.0.0/24. Also make sure you still have an ns record for your primary zone. And that your primary zone name is fully qualified. For instance if your zone was called lunch-lady.land.com your fully qualified domain name would be lunch-lady.land.com. The period at the end is very important in this location. Hope this helps.
    David

  • Help please with HostNames

    I'm new to OS X Server and am attempting to set-up a very simple, small network. I've got stuck with HostNames. I gave my Primary DNS Name as 'name.private' during installation. I then read about changeip -checkhostname which, on running, told me my Current HostName was 'name.private', but my DNS HostName was 'Unknown- then lots of digits ending with .lan'. Understanding they needed to be the same, I attempted to change the latter using changeip, but only succeeded in changing the former instead. I've now used changeip again to change that back again. (Will I have damaged anything doing this?)
    For someone new to all this, is it essential that the two names are the same and, if so, how do I change the DNS name so that it matches the Current name? (Hope the question makes sense!)
    All help gratefully received.

    There are two elements to DNS, commonly referred to as 'forward DNS' and 'reverse DNS'.
    Forward DNS takes a hostname (e.g. 'name.private') and maps that to an IP address (e.g. 10.1.2.3)
    Reverse DNS takes an IP address (e.g. 10.1.2.3) and maps it to a hostname (e.g. 'name.private')
    changeip can only affect the forward DNS - it changes the name associated with your machine.
    Your problem, though, is reverse DNS. You have a hostname (name.private) that maps to an IP address (10.1.2.3), but you don't have reverse DNS setup to map that IP address back to the name.
    How you resolve this depends on your DNS setup - how are you running DNS? Do you have your own DNS server? Are you using your ISP?
    Is your server on a private LAN or does it have a real-world IP address?
    If your server is on a private LAN then you will need your own DNS server in that LAN who knows the LAN address of your server (and any other LAN devices).
    If your server has a real-world address and you're using your ISP for DNS resolution, you probably need to talk to your ISP about reverse DNS for your IP address.

  • ISE - Loss of All Nodes in a Distributed Deployment, Recovery Using New IP Addresses and Hostnames

    Hi Experts,
    I have a question regarding ISE disaster recovery with same hostname and IP. For step 2, is it a must to generate a self signed cert? is it possible to use back to original N1 CA- signed certificate?
    esolution Steps
    1. Obtain the N1 backup and restore it on N1A. See "Restoring Data from a Backup" section for more information. The restore script will identify the hostname change and domain name change, and will update the hostname and domain name in the deployment configuration based on the current hostname.
    2. You must generate a new self-signed certificate. See "Generating a Self-Signed Certificate" section for more information.
    3. You must log in to the Cisco ISE user interface on N1A, choose Administration > System > Deployment, and do the following:
    a. Delete the old N2 node. See "Removing a Node from Deployment" section for more information.
    b. Register the new N2A node as a secondary node. See "Registering and Configuring a Secondary Node" section for more information. Data from the N1A node will be replicated to the N2A node.
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-1-1/user_guide/ise_user_guide/ise_backup.html

    Hi,
    The reason for asking to create a self signed cert is , the subject name of the certificate should match  ISE node FQDN. If you import the N1 node CA- signed certificate, that certificate will have the hostname of N1 node as its subject name and it will not work.
    So you have to create a self signed certificate or get a new CA signed certificate with subject name as N1A node FQDN.
    Hope this clarifies the reason of self signed certificate.

  • From hostname to ip

    Hi,
    A few months ago a colleague of mine has set up a Grid Control. Now they want to change the current hostname of the server and in the future it will be changed again...
    Is it possible to switch to using IP's instead of hostnames? I mean, is there a way to use an IP in all the URL's for the EM, OMS, the Agent, etcetera. Because, now we can't access the EM Grid Control web application. When I enter an IP, it automatically switches to the hostname when I try to log in or when I try to surf to another page on the EM Grid Control web application. But the hostname doesn't work anymore... That's why I don't want to use hostnames anymore. Everybody here knows the IP's by hard, so...
    Is there a way to fix my problem? Thanks!
    edit: Sorry if I don't use the right terms, I just got the assignment to fix this problem, but I know sh*t about the Oracle Enterprise Manager Grid Control :-)

    Sorry but not.
    The OMS and the Agent of any target only work by hostname. If you change the hostname that is an action not supported and the oms not work correctly.
    The Oracle recommendation is reinstall the grid control enviroment. The question is based and the installation process take the hostname and placed in the code. This code when finish the installation is impossible of edit.
    Other question is that the OMS and AGENT of GRID CONTROL can work by VIRTUAL HOSTNAME. You can to see this function in ORACLE ENTERPRISE MANAGER GRID CONTROL ADVANCED CONFIGURATION book, that resides in Enterprise Manager Library
    Regards

Maybe you are looking for