DNS Nameserver change via ZEN?

We do not use DHCP in our environment. Is there a way to push out a new DNS
Nameserver IP address to the workstations using a ZEN application?
Thank you,
Brad Johnson

Thank you, that helped point me in the right direction. By using netsh
commands in a distribution script I think I can accomplish what I am after.
Thanks again,
Brad Johnson
"Craig Wilson" <[email protected]> wrote in message
news:9GnCh.2465$[email protected]..
> Here are two thoughts on doing this.
> Both could be forced out via ZEN.
>
> http://www.novell.com/coolsolutions/tools/14784.html
> http://support.microsoft.com/kb/290396
>
>
>
> --
> Craig Wilson - MCNE, MCSE, CCNA
> Novell Support Forums Volunteer Sysop
>
> Novell does not officially monitor these forums.
>
> Suggestions/Opinions/Statements made by me are solely my own.
> These thoughts may not be shared either Novell or any rational human.
>
> "Brad Johnson" <[email protected]> wrote in message
> news:98lCh.2341$[email protected]..
>> We do not use DHCP in our environment. Is there a way to push out a new
>> DNS Nameserver IP address to the workstations using a ZEN application?
>>
>> Thank you,
>>
>> Brad Johnson
>>
>
>

Similar Messages

  • Java doesn't pick up system's DNS settings change until restarted

    Hello,
    I have a service running on a few Linux computers. Those computers have a NIC, which is configured with a fixed IP address. So /etc/resolv.conf contains the IP address of the LAN's DNS server. But most of the time, the computers are not plugged into the LAN at all. Instead, they connect themselves periodically to the Internet by establishing a ppp connection. When it happens, the ISP's DHCP server assign them new IP parameters, including their DNS server's IP address. And /etc/resolv.conf gets updated with this address.
    But it seems that java doesn't take care of DNS change taking place during a run. Which means that my program (started at boot with no connectivity at all) tries to connect to some host, and obviously trigger an "UnknownHostException" (at that point it does try to contact the LAN's DNS server). Quite logical. Later, the ppp link become active. But my program still try to contact the LAN's DNS server, despite the new configuration in /etc/resolv.conf. As such, it will forever trigger UnknowHostExceptions, until it gets restarted (it will then pick up the new settings) or it is plugged back into the LAN (it will finally reach the LAN's DNS server).
    This is quite a problem as during one single execution, the machine may encounter several DNS configuration changes, and this problem basically means that it will be impossible for my application to resolve any name at all.
    So is there a way to tell Java to re-read the system wide DNS configuration? Or is there some option to prevent Java to "cache" the DNS server to use?
    To demonstrate my problem, I've written a simple test case, see below.
    To get the problem:
    1) Put a bogus DNS server into your /etc/resolv.conf
    2) Start the test program. Wait for some time: it will trigger UnknownHostExceptions.
    3) Fix the entry in /etc/resolv.conf, and check it actually works (eg ping www.google.be)
    4) Test program will continue to trigger UnknownHostExceptions forever.
    One interesting fact is that someone tried this test on Windows, and didn't suffer from this behaviour, eg the application reacts to DNS system settings changes dynamically. So it looks like a Linux-only problem.
    Thanks in advance for your insight.
    Pierre-Yves
    package com.test.dnsresolver;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    public class DnsResolver {
        private static String urlString = "www.google.com";
        public static void main(String[] args) {
             * Specified in java.security to indicate the caching policy for successful
             * name lookups from the name service. The value is specified as as integer
             * to indicate the number of seconds to cache the successful lookup.
            java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
             * Specified in java.security to indicate the caching policy for un-successful
             * name lookups from the name service. The value is specified as as integer to
             * indicate the number of seconds to cache the failure for un-successful lookups.
             * A value of 0 indicates "never cache". A value of -1 indicates "cache forever".
            java.security.Security.setProperty("networkaddress.cache.negative.ttl", "0");
            int loopCounter = 0;
            while (true) {
                InetAddress resolved;
                try {
                    resolved = InetAddress.getByName(urlString);
                    System.out.println("Loop " + loopCounter + ": resolved IP address: " + resolved);
                } catch (UnknownHostException e) {
                    System.out.println("Loop " + loopCounter + ": UnknownHostException");
                    e.printStackTrace();
                loopCounter++;
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {}
    }

    Well, the nameservice property allowing to specify my DNS server of choice is interesting (I didn't know about those), but not very usable, as the DNS server to use is not known in advance (it may be whatever the ISP tells me to use at the time where the ppp link gets established). So no real solution there.
    The fact that it caches /etc/resolv.conf content for 300s is very interesting, but having no possibility to impact on this duration really is a pity. There should be some kind of property to fix this behaviour. So as you say, a custom provider may be the only solution.
    So far, the hack I use to get this working is based on code similar to this one (it is presented here in a similar form than my test case above). Obviously, reading the /etc/resolv.conf for each dns resolution is not an option in a real environment, but you get the idea.
    package com.test.dnsresolver;
    import java.io.BufferedReader;
    public class DnsResolver {
         private static final String urlString = "www.google.com";
         private static final String resolvConf = "/etc/resolv.conf";
         public static void main(String[] args) {
              int loopCounter = 0;
              while (true) {
                   loopCounter++;
                   try {
                        Thread.sleep(1000);
                   } catch (InterruptedException e) {}
                   // Parse the current DNS server to be used in the config
                   String nameserver = null;
                   try {
                        BufferedReader input =  new BufferedReader(new FileReader(new File(resolvConf)));
                        String currentLine = null;
                        while (( currentLine = input.readLine()) != null){
                             // Take care of potential comments
                             currentLine = currentLine.substring(0, currentLine.indexOf("#") == -1
                                       ? currentLine.length() : currentLine.indexOf("#") );
                             if (currentLine.contains("nameserver")) {
                                  // It is the line we are looking for
                                  nameserver = currentLine;
                                  break;
                   } catch (FileNotFoundException e) {
                        System.out.println("Loop " + loopCounter + ": FileNotFoundException");
                   } catch (IOException e) {
                        System.out.println("Loop " + loopCounter + ": IOException");
                   if (nameserver == null) {
                        // No "nameserver" line found
                        System.out.println("Loop " + loopCounter + ": No nameserver found in configration file!");
                        continue;
                   // Trim it to just contain the IP address
                   nameserver = (nameserver.replace("nameserver", "")).trim();
                   System.out.println("Loop " + loopCounter + ": Going to use DNS server " + nameserver);
                   // At this point, we know which server to use, now perform the resolution
                   Hashtable<String, String> env = new Hashtable<String, String>();
                   env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
                   env.put("java.naming.provider.url",    "dns://" + nameserver);
                   DirContext ictx;
                   try {
                        ictx = new InitialDirContext(env);
                        Attributes attrs1 = ictx.getAttributes(urlString, new String[] {"A"});
                        System.out.println("Loop " + loopCounter + ": Manual resolution: +" + attrs1.get("a").get() + "+");
                   } catch (NamingException e) {
                        System.out.println("Loop " + loopCounter + ": NamingException");
    }So maybe I should adapt and package this into a proper provider and specify it for sun.net.spi.nameservice.provider. Any link, info or example about how a proper provider should look like?
    Thanks for your advices!

  • Best event when data changes via a user in a datagrid

    How do I capture when data changes via a user in a datagrid?
    change event?

    thanks mate but I'm not sure where to put it:
    <mx:AdvancedDataGridColumn headerText="sell" dataField="sell" textAlign="right" editable="true">
                    <mx:itemEditor>
                        <fx:Component>                   
                        <s:MXAdvancedDataGridItemRenderer>   
                            <s:TextInput width="100%" text="{data.sell}" fontWeight="bold" contentBackgroundColor="#eeeeff" color="#3333ff"  textAlign="right"  restrict=".0-9" maxChars="11">                                           
                            </s:TextInput>                                               
                        </s:MXAdvancedDataGridItemRenderer>                                       
                        </fx:Component>               
                    </mx:itemEditor>                               
                </mx:AdvancedDataGridColumn>

  • Simulate DNG profile change via Photoshop

    Hello everyone,
    I have a RAW file and applied Adobe's default DNG Profile (via the  Camera Calibration panel in Lightroom 2.6) and converted it to a PSD file so I can retouch the photo via Photoshop CS3.
    After hours of retouching, I now want to apply a custom DNG Profile that I made from a Macbeth Color Checker. However, I'm not able to apply the profile to "already-rendered images" (http://labs.adobe.com/wiki/index.php/DNG_Profiles:FAQ#WhyOnlyEmbedded)
    So my question is: Is there any way to simulate the effects of a profile change via Photoshop adjustments (i.e. HUE/SAT adjustments)?
    Please feel free to let me know if more clarification is needed.
    Thanks,
    David

    Hi Wolf,
    Thanks, I really appericate your response. But I'm still not able to change the DNG Profile. Here are my steps in following your direction, please let me know where I went wrong:
    1. I exported the retouched PSD file as a DNG file via Lightroom 2.6
    2. I then opened the DNG file in Camera Raw via Adobe Bridge
    3. At this point, I checked the "Open in Photoshop as Smart Objects" option and opened the file in Photoshop CS3
    4. I then double clicked on the smart opject within Photoshop, and like you said, the file opened in Camera Raw again
    5. However, when I go to the camera calibration panel, I am still not able to apply another profile; I only see an "Embedded" profile in the Profile popup menu and no other options.
    Any advice would be much appericated.
    David

  • Sales Order changes via change history (transaction logs)

    Hi guys,
    If I happen to change delivery date to a new date, as we see from the change history of the previous commit dates, I wish I could see the various date
    changes from any table?
    I did tried VBEP, CDHDR, CDPOS & program RVSCD100. But it says “No records found”, when I did change the dates in my SO (item level).
    What is the table VBUK & VBUP for?  I cannot retrieve from them too.
    I just want to know if there is a way I could retireve the changes via the change history field in SO.
    Rgds,
    Ann

    Hello Ann,
    In the VBUK table and give the delivery doc number, The various status indicators for the table will be there by which you can get the delivery status.
    Goods movement status could be got from VBUP table.
    Overall delivery status of an item could be got from this table
    The status for sales order are stored in VBUK header level status and VBUP for item level. U can check if the statuses are not C than the sales order is open. There are different status available in VBUK/P tables like delivery status/goods movement status/invoice status etc
    <b>**reward if this helps**</b>
    Regards
    AK

  • DNS Name Change

    We need to make a DNS name change on the SRM/Oracle box.  What changes need to be done in the SRM application to make this happen.
    i.e The current web address is srm.ts.co.company.com
    We need to make the change  to srm.lb.co.company.com
    Any help you can provide would be appreciated.

    hi,
       You just need to maintain the new DNS in the table TWPURLSVR and the host file.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Help! DNS name changed without warning!

    Hi all,
    I have been trying to get my VPN to work recently to no avail. I decided to change my router's IP address 192.168.1.1 to 192.168.3.1 as I read that this may cause issues when connecting to a VPN. However, when I checked on Server Admin, I noticed that my DNS had changed from a .com to a .local.
    Is there anyway to revert the DNS back to the original name?
    Best,
    Oli

    If I understand correctly...
    You force powered down the Mac with the power button, and then turned it back on again, and your wife could log in to her account without entering a password - is that correct?
    It sounds like somehow her password got changed to a blank one. I've never heard of a bug that could cause this - are you sure that either of you didn't change the password to a blank one?
    PS any administator's username and password can also be used to unlock another user's screen - if it happens again you can use the password of your own admin account.

  • Change my zen micro color(israeliy users will help me more:)

    hi!;
    i want to change my zen color.
    how do i do that?
    im from israel and i bought an orange zen-the israelis will know how much this color is now senseti've in our country and beside i hate this color..i dont know why i bought shis one...i was drunk..(i think..)
    help))

    From what Ive read about taking apart the Micro to fix the headphone jack, you would have to have another faceplate to change colors. Maybe you could find a defecti've unit on Ebay for parts. I dont think you can buy the face from Creative, but you could contact support to find out. Good luck. Its probably easier to buy a new one and sell the orange Micro on Ebay.

  • Error List for Password Changes via IDXML

    Maybe I missed this in the documentation or in this forum, but I'm looking for error messages related to password changes via IDXML. I thought they were in the configuration for the identity server, but a file search didn't turn them up. Anyone have a suggestion or know where they are listed?

    Hi Mark,
    Can't help you off the top of my head. This has to be a message catalog on the file system as there is no such data in the LDAP config data.
    Did you do your search with a good tool (err. not with the lame windows search feature)? I'd search /oblix/lang on both OIS and WebPass installs for the string in question.
    Mark

  • My network DNS was changed manually.

    My network DNS was changed manually.  I am now trying to change it back, but the appletv will not save my changes.  Can you help? thank you

    Thanks vazandrew,
    I have already tried that a number of times, and it remains the same.  I have unplugged the Appletv. I have tried to reset the Appletv. I have reset my router.  Nothing seems to make a difference.  I am physically able to change the DNS number manually, but the Appletv doesn't save the new (original) DNS.

  • MS office settings via Zen

    Hi Everyone,
    How does one manage MS Office settings on the desktop after Office has been installed? I have a custom MSI that I use to install office. That works fine for installation. Now I have to change a few settings that I can't find in the registry. One of them is disabling Smart Quotes. Do I need to use the Resource kit and reinstall or is there an easier, less painful way?
    Thanks,
    Tom

    We have Word 2002 (Office XP).
    I used the Maintenance Wizard, which allows changes to office settings. I changed the smart quotes option, applied it to my account, and it did nothing. The office splash screen appeared for a minute, though.
    I'll work some more on it and provide feedback.
    Tom
    >>> craig wilson<[email protected]> 9/26/2006 4:03 PM >>>
    I do not see this behavior on my copy of Word 2003.
    Personally I have not played with this setting before so I could not say
    how common an effect you are seeing.
    Tom Miller wrote:
    > Thanks - I'll look for the ADM files. Sort of related, I notice that
    > when I turn of usage of Smart Quotes, exit Word then go back in, they
    > are on again. Odd.
    >
    > >>> craig wilson<[email protected]> 9/26/2006 3:29 PM >>>
    > Microsoft has some ADMs for controlling office.
    > This is most likely what you want to do.
    > Don't mention ZEN, just that you want to manage this via GPs.
    >
    > If you need more help, ask back here when armed with that info.
    >
    > Tom Miller wrote:
    > > Hi Everyone,
    > >
    > > How does one manage MS Office settings on the desktop after Office has
    > > been installed? I have a custom MSI that I use to install office. That
    > > works fine for installation. Now I have to change a few settings that I
    > > can't find in the registry. One of them is disabling Smart Quotes. Do
    > > I need to use the Resource kit and reinstall or is there an easier, less
    > > painful way?
    > >
    > > Thanks,
    > > Tom
    >
    >
    > --
    > Craig Wilson
    > Novell Product Support Forum Sysop
    > Master CNE, MCSE 2003, CCN
    >
    >
    Craig Wilson
    Novell Product Support Forum Sysop
    Master CNE, MCSE 2003, CCN

  • DNS adding entries via SA GUI

    I am configuring a new Intel Xserve with 10.5.2 ready to move data from my current 10.4.11 system
    I have added over 100 entries into DNS via the Server Admin GUI by hand.
    (I tried using the move the data files and then using the convert utility. It kept missing and corrupting data).
    I have added most of my records apart from a few A records and CNAMEs, however when I click on "add entry", there is no "new entry" created. In fact I cannot seem now to add any entries to DNS via GUI.
    The GUI is the preferred entry point as other colleagues may need to add to DNS in my absence.
    I have stopped DNS, restarted, rebooted the system.
    The following is in /var/log/system.log it is complaining about not having a nameserver, but it does.
    Any help would be appreciated.
    Apr 3 09:48:26 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:48:55: --- last message repeated 3 times ---
    Apr 3 09:48:55 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:52:30 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:53:00: --- last message repeated 1 time ---
    Apr 3 09:53:17 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:55:06 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:55:36: --- last message repeated 3 times ---
    Apr 3 09:56:24 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:57:08 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:57:15: --- last message repeated 3 times ---
    Apr 3 09:57:15 adminservices Server Admin[271]: * -[GroupTextField windowDidResignKey:]: unrecognized selector sent to instance 0x1000e130
    Apr 3 09:57:22: --- last message repeated 1 time ---
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 10:05:43 adminservices com.apple.launchd[1] (0x416a30.Locum[22193]): Exited: Terminated
    Apr 3 10:32:57 adminservices sshd[22755]: USER_PROCESS: 22755 ttys000
    Apr 3 10:32:57 adminservices com.apple.launchd[1] (0x416cc0.sshd[22755]): Could not setup Mach task special port 9: (os/kern) no access

    Funny thing, we just upgraded our xserve from 10.3.9 to 10.4.11 and our DNS is having problems as well. Never has a problem before. Whines and complains that it doesn't know who "xserve" is and does not associate "xserve" with its local IP address.
    Maybe what will help you may help us.
    Ever since the upgrade, Windows file-sharing has gotten horribly gummy.

  • Solaris 10 issue with the DNS when connected via DHCP

    driver alias for Realtek RTL 8029 AS - ni0, driver is installed from http://homepage2.nifty.com/mrym3/taiyodo/eng/. IP, shown on ADSL modem TP-Link ADSL2+ Router TD-8810 - 192.168.1.1 .
    To connect to the Internet in the terminal I enter:
    ifconfig -a
    ifconfig ni0 unplumb
    ifconfig ni0 plumb
    ifconfig ni0 192.168.1.5 netmask 255.255.255.0 up
    route add default 192.168.1.1
    After that, I can turn on ADSL modem or the computer hangs)
    Now in the terminal I enter:
    ifconfig ni0 dhcp
    The computer connects to the Internet.
    Problem: does not work DNS, visible are only addresses without a domain name (eg http://86.106.213.1:8080/).
    ping 89.33.1.18 - is alive, ping boom.md - the domain for 89.33.1.18 - host unknown.
    I tried to:
    cp /etc/nsswitch.dns /etc/nsswitch.conf
    and
    write DNS-server in /etc/resolv.conf in format:
    nameserver <IP-address>
    After running DHCP nsswitch.conf file is back to default, not using DNS, a resolv.conf file after a reboot does not exist. Domain names are still unknown.

    I'm using exact scan already and have switchresx.
    I've actually solved the problem, don't ask me how.
    I connected it up via the VGA interface to see whether that would make a difference, the picture was centralised but the resolution was not great.
    So I swapped it back to the HDMI interface, rebooted the Mac and when it came back up the HDMI 1920x1080 desktop was perfectly aligned.
    So have no idea why but it is now working.

  • Album track order changed on Zen Mi

    I have found when transferring whole albums onto the Micro via windows media, the order of the tracks is changed to alphabetical order on the Zen. This obviously renders some albums a nonsense when this happens. Have I unwittingly checked some option in the menu or is it something to do with Windows Media Player? Any ideas?

    Thats really peculiar... my micro once showed a 5 minute song as being 3 seconds, and the progress bar at the bottom was full for the whole song, but after playing once, it automatically fixed itself. I know it would be a hassle, but maybe plugging your micro into a wall outlet, and haveing it play through the book would fix it.

  • Child DNS Zone changing PTR record of OD Master

    Grretings,
    I am setting up a new OD master server for our school that will also host our DNS. Home folders will be on another server. I am using the DNS GUI for now. Setup master DNS zone of ourschool.lan. OD master has FQDN of admin.ourschool.lan with an IP address of 172.16.2.254. Forward and reverse lookups of OD master are great.
    #host admin.ourschool.lan returns 172.16.2.254
    #host 172.16.2.254 returns admin.ourschool.lan
    When I go to set up a child zone, highschool.ourschool.lan, on this server I set the nameserver to ns1.highschool.ourschool.lan and IP address of 172.16.2.254, I have had the following happen:
    #host admin.ourschool.lan returns 172.16.2.254
    #host 172.16.2.254 returns ns1.highschool.ourschool.lan (not what I want!)
    I understand forward and reverse lookups to OD master need to be rock solid. The changing of the PTR record is going to ruin this. Has anyone else seen this behavior. Should I just do the DNS through terminal and forget the GUI?
    Thank you for any feedback. I searched this discussion list and didn't find anything similar to this in the postings.
    Best Regards,
    Steve
    OS X Server and Client   Mac OS X (10.4.6)  

    Your problem stems from the fact you're trying to create two separate A records for the same IP address.
    The GUI will automatically create a reverse DNS entry for each a record. Since you have two A records that point to 172.16.2.254 that's where your problem lies.
    Your solution is either to use a CNAME (or alias) for the second hostname (e.g. ns1.highschool.ourschool.lan CNAME admin.ourschool.lan), or manage the DNS by hand and don't use the GUI tools.

Maybe you are looking for