Sles11 named as OES2-Backup-DNS?

Hi,
I was wondering if it would be possible to use the named service of a Sles11 to work as a backup server for our OES2 DHCP/DNS setup?
I mean, novell-named is not all that different to the default Linux one, right?
If so, how would I go about doing that?
Thanks for your help!

Originally Posted by amacher
Hi,
I was wondering if it would be possible to use the named service of a Sles11 to work as a backup server for our OES2 DHCP/DNS setup?
I mean, novell-named is not all that different to the default Linux one, right?
If so, how would I go about doing that?
Thanks for your help!
DNS would be easy. Create the zone as a slave zone on the sles box, point it to the master, all done.
DHCP is a different issue. OES has a DHCP Failover option, but to properly use the SLES as a DHCP back for OES, you would probably have to cluster the two servers and then the dhcp service. DHCP failover may work, but I haven't mixed environments like that while trying to implement that option.

Similar Messages

  • How do I create a backup DNS server?

    Hi All,
    I've got my production server (Xserve Intel) running 10.6 and it is our primary DNS server. I've gotta take it down to do some work on it, but by doing so, no one in the organization will be able to access the internet.
    I'd like to set up my old Xserve (G5, running 10.5) as a backup DNS server that can handle the DNS requests whenever I need to take the main server down. Unfortunately, I'm kind of a DNS n00b.
    What is the best way to go about this?
    Thanks,
    Chris

    Oh, quite embarrassing. I complained about not understanding the author of the article when I was actually speaking to the author. How rude! Apologies, kind sir.
    I've now got it set up correctly with your help, it seems. I've just got a few other questions regarding the Secondary DNS Server if you don't mind:
    1) Do I set any forwarder IP Addresses on the secondary server? Should I put the same forwarders that I use on my primary, or should I put the IP address of my primary in there, or should I just leave it blank?
    2) *Edit - Ignore question 2; found the answer in your guide*
    3) When I look at the secondary zones, they don't seem to be populated with any data. . . Does this mean that the secondary server is completely reliant on the primary server to function correctly? In other words, *when I take my primary server offline, does the secondary server still work?*
    Thanks,
    Chris
    Message was edited by: cscrofani

  • OES2 SP3 DNS/DHCP Console

    Just a quick note that currently, the latest DNS/DHCP Console isn't
    available for download on Novell's site. You have to get it off of your
    OES2 SP3 server instead.
    http://servername/welcome/client-software.html
    Then you can follow TID 7006450 to configure it so you can view leases.
    -Mike

    On 25/02/2011 21:35, TitanXV wrote:
    > It will only be available if the novell-dnsdhcp-javaconsole rpm is
    > installed, and you can also grab it from the directory at
    > /srv/www/novell/clients/dnsdhcp
    If you do not have the novell-dnsdhcp-javaconsole RPM installed but do
    have access to the OES2 SP3 media (and don't want to install DNS/DHCP on
    a server just to get the latest JavaConsole) then on a Linux box you can
    extract the latest code via:
    rpm2cpio /path/to/novell-dnsdhcp-javaconsole-2.0.1-0.33.<arch>.rpm |
    cpio -idmv
    (where <arch> is i586 or x86_64 depending on 32- or 64-bit - note same
    files included in both)
    You can then take the relevant DNSDHCP_SA.zip file and use it to install
    the JavaConsole on your admin workstation(s).
    HTH.
    Simon
    Novell Knowledge Partner (NKP)
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

  • Practical Backup DNS

    Hi all,
    Let's say I have two XServes. Mail service is running on both of them. They each have a respective MX record in our domain.
    One day, the connection to the primary (higher precedence) mail server is severed. Other people's mail servers attempting to contact our primary defer to our secondary (lower precedence). Assuming the secondary is online, mail servers successfully contact our secondary and deliver mail for the domain.
    Now what?
    There seems to be very little documentation regarding the "what happens next" of this scenario, which is quite important. Our older Cobalt RAQs would automatically hold the mail until the primary was available for contact, then re-deliver to the primary. Is this a typical out-of-the box scenario?
    What I need next are the practical considerations for this configuration. If automatic redelivery does not occur, should I duplicate all my users and mailing lists on the secondary, then configure the clients to check both the primary and secondary servers for mail? How is the secondary MX typically and/or intended to be used?
    Thanks.

    Now what?
    Your secondary (if configured properly) will regularly try to deliver held mail to the primary. As soon as the primary is up, this will happen.
    There seems to be very little documentation regarding
    the "what happens next" of this scenario, which is
    quite important.
    There is tons of information. Google is your friend.
    Our older Cobalt RAQs would
    automatically hold the mail until the primary was
    available for contact, then re-deliver to the
    primary. Is this a typical out-of-the box scenario?
    It's not an out of the box scenario. it's a matter of configuring Postfix correctly. I have posted links to this in at least 5 other threads.
    What I need next are the practical considerations for
    this configuration. If automatic redelivery does not
    occur, should I duplicate all my users and mailing
    lists on the secondary, then configure the clients to
    check both the primary and secondary servers for
    mail?
    No. This defeats the purpose. You should fix the primary and delivery will happen. The secondary will not have mailboxes you can access, only a queue.
    How is the secondary MX typically and/or
    intended to be used?
    As a backup queue. Nothing else.

  • Backup DNS Records

    Afternoon, 
    Is there a way to create a back-up A record in order to provide redundancy? 
    I'm currently in the middle of setting up a DR site and looking to find a way to have a set of DNS record pointing at existing servers host name but with different IP addresses so in the event that we require to bring a replicated server up at the DR site
    the DNS record would automatic switch over after the TTL has expired on the primary link. 
    our DNS service runs on a windows server 2012 environment in a cluster of 3 servers for redundancy. 
    Thanks

    To answer/address the question about the same records with different IPs, unfortunately it doesn't work that way with AD. The IPs registered are absolute for the service locations, and they must be consistent across the organization for AD DC to DC communications
    including replication, and client to DC communications. If you attempt to alter them, it will cause numerous errors and additional headaches that I'm sure you do not want to deal with.
    Just setup two DCs at the DR, do not make them GCs. Just make them GCs in case a down issue occurs. Depending if you have 3 or more sites, this may also require to make individual site links for each site and disable BASL. The reasons are long winded,
    but it's technically how AD works. You can design around it, but you can't mess with DNS. And keep in mind, just because they are up, services and client apps may not be so forgiving to "see" the DR servers until they've been restarted.
    So there's more to this than it appears.  
    You can read up in this stuff in the following link:
    AD Site Design, DNS & the DC Locator Process, and Auto Site Link Bridging, or Bridge All Site Links (BASL)
    http://blogs.msmvps.com/acefekay/2013/02/24/ad-site-design-and-auto-site-link-bridging-or-bridge-all-site-links-basl/
    The blogs below discusses:
    WINS NetBIOS, Browser Service, Disabling NetBIOS, & Direct Hosted SMB (DirectSMB). Troubleshooting the browser service.
    Client side resolution process chart.
    The DNS Client Side Resolver algorithm.
    If one DC or DNS goes down, does a client logon to another DC or use the other DNS server in the NIC?
    DNS Forwarders Algorithm and multiple DNS addresses (if you've configured more than one forwarders or more than one IP in the NIC's DNS list)
    Client side resolution process chart
    Published by Ace Fekay, MCT, MVP DS on Nov 29, 2009 at 10:28 PM  1764  1
    http://blogs.msmvps.com/acefekay/2009/11/29/dns-wins-netbios-amp-the-client-side-resolver-browser-service-disabling-netbios-direct-hosted-smb-directsmb-if-one-dc-is-down-does-a-client-logon-to-another-dc-and-dns-forwarders-algorithm/
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • DNS Alias to named instance

    Hi, I have been recommended to create DNS aliases for the sql server instances so it be much more flexible for us to later migrated databases from server/instances to other server/instances... I really like this approach, but my SQL server consist of several
    named intances, one for every service/application. 
    Its easy to create a dns alias for a server name, but is it even possible to create DNS aliases for each named instance?
    And question two, is it possible to run all named instances on port 1433?
    Thanks in advance.

    Its easy to create a dns alias for a server name, but is it even possible to create DNS aliases for each named instance?
    A DNS entry will resolve the host name to an IP address, but the instance name (or port number) will still need to be specified in client connection strings.  This will allow you to move a named instance to a different server without changing client
    connection strings as long as you retain the same instance name (or port number if you use a port number instead of instance name).
    For example, if you have 2 named instances on SERVERA named INSTANCE1 and INSTANCE2, you could create DNS records INSTANCE1.EXAMPLE.COM and INSTANCE2.EXAMPLE.COM both pointing to SERVERA.  The client connection string will still need to specify
    the instance name (e.g. INSTANCE1.EXAMPLE.COM\INSTANCE1 and INSTANCE2.EXAMPLE.COM\INSTANCE2).  That would allow you to move a named instance to different host transparently with only a DNS change (e.g. move INSTANCE1 to SERVERB and change INSTANCE1.EXAMPLE.COM
    to point to SERVERB.
    And question two, is it possible to run all named instances on port 1433?
    No (assuming the same IP address).  Each instance on a host must listen on a different port number.  It is ultimately the IP address and port number that uniquely identify an instance.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Lion DNS Server not answering reverse IP queries

    I just upgraded my server to 10.7 lion. Everything works great, except that the DNS sever will not answer queries about reverse IPs. Interestingly OD isn't affected yet though as I add more replicas I'm afraid that problems might start cropping up.
    Queries for forward zones work fine. Reverse zones don't
    I tried restoring from backup without luck.
    I found a directory called "/etc/dns.migrated-2011-08-06-002722" with the standard "loggingOptions.conf.apple", "options.conf.apple" and publicView.conf.apple.
    I checked another server that was also upgraded to Lion, the DNS service is running (it only has the original DNS name of the server when it was set up) and it shows the same symptoms; forward zone works, reverse doesn't.
    Has anyone seen this? Any tips for "fixing" my 200+ IP addr zones?

    I've got this problem, too.  I've tried a few things that have not worked.
    1. importing a plist from another working (SL) DNS server.  The zones all get imported, including reverse; however, the reverse zones are missing their nameservers.  After I fill in all ~50 rev zone NS entries (it validates to make sure they are all filled in), it looses all of its data.  All that time I spent is wasted.
    I've tried this on my backup server with a fresh lion/admintools install and again after software update
    2.  I've deleted /etc/named.conf and /etc/dns/db.* and placed a fresh named.conf in /etc
    added one reverse zone, setting its NS.  same thing.
    i was much happier with snow leopard, which is what i ordered from cdw, but they delivered these

  • Time Machine backups to OS X Server intermittently failing with error 21

    I have a Mac Mini running OS X Server, with two USB drives connected and selected within OS X Server as Time Machine backup destinations.  I have an iMac and a Macbook Air, both of which  are using Time Machine to backup themselves up to the Time Machine Service on the server (all are running the latest version of Mavericks).
    Intermittently, the iMac backup fails.  The iMac's console log shows:
    Aug 23 13:55:34 Nigels-iMac.local com.apple.backupd[15418]: Failed to eject volume /Volumes/Backups-1 (FSVolumeRefNum: -141; status: -47; dissenting pid: 0)
    Aug 23 13:55:34 Nigels-iMac.local com.apple.backupd[15418]: Waiting 60 seconds and trying again.
    Aug 23 13:56:06 Nigels-iMac.local mds[72]: (Normal) Volume: volume:0x7fa702995000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Backups-1
    Aug 23 13:56:45 Nigels-iMac.local com.apple.backupd[15418]: Network destination already mounted at: /Volumes/Backups-1
    Aug 23 13:57:29 Nigels-iMac.local com.apple.backupd[15418]: Quota in effect for '/Volumes/Backups-1': Zero KB
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Failed to eject volume /Volumes/Backups-1 (FSVolumeRefNum: -141; status: -47; dissenting pid: 0)
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Giving up after 3 retries.
    Aug 23 13:58:16 Nigels-iMac.local com.apple.backupd[15418]: Backup failed with error 21: 21
    The Mac Mini console log shows nothing apparently wrong.
    Restarting the server (not the iMac) clears the problem and the iMac will then once again backup to the server for some time (e.g. a day).
    There are two USB drives, one for each backup sparse bundle and although the two disks have different names in the Finder, OS X Server has named them both Backup (one is shown as 'Backup' and the other as 'Backup-1' in the Time Machine Services Backups tab).
    I am wondering whether the failure occurs when coincidentally the iMac and the Macbook both try to back up at the same moment.  Any advice about how to isolate the problem, or a solution would be gratefully received!

    1. This procedure is a diagnostic test, to be carried out on the server. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can read it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p) if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|(Bo|PO).+ sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:| VALI|xpma' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,Inter,iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 35 49 61 51;D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • How to get WAN DNS when set up Airport Extreme on Windows

    I am trying to set up my home network by using Airport Extreme Base to connect DSL via PPPoE. Here's what I did:
    1. Update firmware to latest version: V5.7;
    2. Install Airport Setup 4.2;
    3. Run Setup Assistant, enter the right DSL account and password by using PPPoE, also setup base name, network name and base password, and DSL service provider's DNS ip, backup DNS ip;
    4. Everything gets updated into base station, restarted, local wireless network set up successfully, but can not connect to WAN;
    5. Tried ipconfig/all, find DNS is 192.168.1.1;
    6. Tried to dial DSL from computer via PPPoE directly, validated account and password is ok, and it is working well to get me to internet.
    Can someone here help me solve my issue?
    Dell D600 Windows XP Pro

    I figure out answer by myself now. I would like to share it with you all here: firmware V5.7 has some major bug causes the problem. When I update my base station with firmware V5.5.1, it works right away.

  • Redundent mail server setup (backup mail server)

    i have been reading all the post of setting up a mackup postfix server. i have looked at the configuration files and have a second machine ready to be implemented but have some questions on how exactly the backup works. my current setup is:
    - xserve1 with 10.4.3 OD master running mail, web, dns, ichat, ftp, host name is mail.mydomain.com
    - xserve2 with 10.4.3 (i will make this replica) running web and backup dns
    - G4 466MHz with 10.4.3 Server running mail and web, host name is mail2.mydomain.com (this is to bemy postfix backup server)
    all 3 are behind a firewall with NAT. they have local LAN IPs with NAT to 3 separate WAN IPs and open ports for the needed services.
    my first question is: do i need to run dns as well on mail2.mydomain.com?
    while i understand that mail stays in the queue on the postfix backup, does that mean that while mail.mydomain.com (primary mail server) is down users will not be getting any mail? can the users actually login to the mail2.mydomain.com and if yes how do they authorize?
    should i keep mail2.mydomain.com as a standalone or make it part of the directory?
    any info is appreciated.
    thanks
    martin
    xserve G5   Mac OS X (10.4.3)  

    don't mail servers hold mail for days anyway and keep
    retrying and when our mail comes back up will get all
    the mail?
    Yes, they typically do (unless some braindead administrator has configured his server to try only for a few hours or so).
    i assume there is no difference if my
    backup mail server runs on 10.3.9 then?
    None whatsoever.
    - is there a practical way to set up a mail that
    clinets can login to and check mail while the primary
    server is down?
    Practical? No.
    can the backup server forward as well
    while it holds to the queue?
    Why would you want that? Where should it forward to if the primary is down? As soon as the primary is up, the secondary will forward to i.
    the last time i had some
    coruption and problems with reconstruct (which you
    helped me with), we were down for 24 hours. i am
    trying to avoid this. i have an image and i run
    mailbfr to backup i assume i can use that in case of
    harware failure or massive os corruption that may
    take hours to fix.
    If push comes to shove this may help. Although images are never too brilliant for mail services recovery.
    my problem is that if this happens
    during the week, during daytime we cannot really
    afford to be down at that time.
    This is really your call. Only you can decide how much money you want/need to throw at resilience. But if you decide you cannot afford more than an hour of downtime, you will need far more than an onsite secondary mx
    Alex

  • Home folder does not appear when trying to restore it from a backup

    Hello Macintosh community, I hope you can shed some light on this very strange behavior I am experiencing when trying to recover a User's home directory from a Backup archive.
    Recently, my MacBook internal hard disk stopped working (hardware failure of the disk itself, it does not spin any more). I had been making regular backups of the entire internal disk to an external hard disk.
    I went to an Apple reseller and had them put in a new internal hard drive, and also purchased MacOS 10.5, which was installed on this internal drive.
    I then installed Backup 3 onto this 10.5 system, and mounted the external drive with the backup to restore the contents of my home directory.
    However, when opening the Backup application and trying to restore, it shows the entire contents of the hard disk to be restored, EXCEPT my home directory. Home directories of other users are visible, just not mine. So, Backup is effectively not able to restore my home directory.
    In an attempt to restore other information, I decided to try to restore the entire contents of the backup to another location, and then manually retrieve any other files I needed from that restored backup.
    During that restore, I thought I'd open a terminal window, and take a look at the /Volumes directory. In this directory, I noticed a volume named after the Backup Plan I was restoring from. This volume was not visible in the Finder, just in the /Volumes directory visible in Terminal.
    Curious, I opened the Users folder of that backup volume, and to my surprise I found my home directory with its contents! So, from Terminal, I did a recursive copy from the 'missing' (in the Backup application) home directory to my internal disk, and lo and behold, it contained the data from my home directory!
    So, I am thinking that my home directory exists in the backup, but that the Backup application is somehow not showing it.
    The directory structure I copied using Terminal only contains the contents of my home directory the way it was when I created my initial full backup, and thus it does not contain any subsequent modifications, stored in the 1.5 years worth of incremental backups I created later. I guess I could manually go through all incremental backups, extract the home directories from each of them, and manually combine them into a single one, representing the final home directory before my disk failed, but that is the Backup application's job.
    My question to the forum:
    - Have any of you experienced a similar problem, and if so, were you able to recover the 'hidden' directory from the backup files, and how?
    - Maybe the Backup development team at Apple can provide some suggestions for how to retrieve my home directory from the backup files I have.
    Obviously, it's important for me to get my files back. I did make backups on a regular basis, so I thought I did the right thing. It's especially frustrating, since I'm pretty sure the backup files contain the home directory, but I just can't get at it!
    Any help would be greatly appreciated!
    Thanks,
    JK
    Software versions of system before crash:
    - System version: 10.4 Tiger (up to date with the latest updates)
    - Backup version 3 (kept up to date with the latest updates)
    Software versions of system after crash:
    - System version: 10.5 Leopard (up to date with the latest updates)
    - Backup version 3 (version as of the day of this posting)

    The original install had 3 regular users, and I'm also seeing the "Shared" user when looking at the volume via Terminal. On my new disk, I created a user (with admin rights) with the same name as one of the users on the back up. When I log in as this user and then start Backup again, the home directory of that user is visible in Backup. However, the home directory I want is still hidden.
    On a side note: I'm wondering whether these full or incremental backups are somehow similar to .dmg files, since they seem to appear in the /Volumes list while Backup is restoring from a backup file.
    What I am doing right now, is to have Backup do a complete restore. But as soon as I started Backup, I opened a terminal window,did a cd (change directory) to the backup file (which appears as a volume). Then I copied the contents I of the home directory I want (via cp -R <home-directory-name> <destination>) to another hard disk.
    Interestingly enough, I noticed that Backup, while it was doing the restore, opened a dialog indicating that it could not close the backup file because it was in use by me having a Terminal window open in one of its directories. As soon as I closed the terminal window, and allowed Backup to re-try, it successfully continued, opening the next backup file in succession.
    As soon as it continued, I cd-ed into the home directory of that next backup file, and copied the contents of the home directory from it. So, I'm doing this for the home directory in question for all backup files. I assume that this gets me as many copies (versions) of the home directory as there are backup files.
    The next thing I need to to after all backup files have been processed, is to manually try to consolidate all the extracted home directory versions into a single one. Yes, this sounds insane, and it is, but until I know of another way to solve this problem, it's the only thing I can do
    What a fantastic way to spend a weekend!

  • Bind 9 DNS Server chroot cannot work on Solaris 10 u6 and u7

    My Old verion "Solaris 10 x86 Generic_Patch_118844-30" can be run "Bind 9 DNS Server" in chroot mode.
    And this is no any problem.
    I have been try to use "Bind 9 DNS Server" in Solairs 10 x86 u6 or u7.
    The result is not any problem.
    But when I turn it run in the chroot mode. the "Bind 9 DNS Server" cannot run.
    I have been manuelly run the named:-
    /usr/sbin/named -c /etc/named.conf -t /chroot/dns -u named -f -g
    The respond is :-
    13-May-2009 02:17:46.623 starting BIND 9.3.6-P1 -c /etc/named.conf -t /chroot/dns -u named -f -g
    13-May-2009 02:17:46.624 found 1 CPU, using 1 worker thread
    13-May-2009 02:17:46.627 socket.c:3259: unexpected error:
    13-May-2009 02:17:46.627 open(/dev/poll) failed: No such file or directory
    13-May-2009 02:17:46.628 ./main.c:495: unexpected error:
    13-May-2009 02:17:46.628 isc_socketmgr_create() failed: file not found
    13-May-2009 02:17:46.629 create_managers() failed: unexpected error
    13-May-2009 02:17:46.629 exiting (due to early fatal error)
    Look like the bind 9 runing in the chroot mode after that cannot find /dev/poll
    Even I use Bind 9 version 9.6.0, the result is same.
    So, I don't sure the problem are the Bind 9 or Solaris 10 u6/u7
    I try to continous install New verion Bind 9 in my old version Solaris 10.
    THE Result is NO ANY PROBLEM in old version Solaris 10.
    And I already bypass the SMF problem.
    Anyone can tell me what the problem in solaris 10 u6/u7?

    Looks like something reported similar bug:
    [BIND fails to start|http://bugs.opensolaris.org/view_bug.do%3Bjsessionid=376e1152f0ddc75829ed1725542e?bug_id=6799867]
    but I am somewhat puzzled why there is no follow up on the bug fixing.
    Ok, I found the source (may be?):
    From named:
    http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/bind/bind-9.3.6-P1/bin/named/main.c
        462 static isc_result_t
        463 create_managers(void) {
        464      isc_result_t result;
        465      unsigned int socks;
        466
        467 #ifdef ISC_PLATFORM_USETHREADS
        468      if (ns_g_cpus == 0)
        469           ns_g_cpus = ns_g_cpus_detected;
        470      isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_SERVER,
        471                 ISC_LOG_INFO, "found %u CPU%s, using %u worker thread%s",
        472                 ns_g_cpus_detected, ns_g_cpus_detected == 1 ? "" : "s",
        473                 ns_g_cpus, ns_g_cpus == 1 ? "" : "s");
        474 #else
        475      ns_g_cpus = 1;
        476 #endif
        477      result = isc_taskmgr_create(ns_g_mctx, ns_g_cpus, 0, &ns_g_taskmgr);
        478      if (result != ISC_R_SUCCESS) {
        479           UNEXPECTED_ERROR(__FILE__, __LINE__,
        480                      "isc_taskmgr_create() failed: %s",
        481                      isc_result_totext(result));
        482           return (ISC_R_UNEXPECTED);
        483      }
        484
        485      result = isc_timermgr_create(ns_g_mctx, &ns_g_timermgr);
        486      if (result != ISC_R_SUCCESS) {
        487           UNEXPECTED_ERROR(__FILE__, __LINE__,
        488                      "isc_timermgr_create() failed: %s",
        489                      isc_result_totext(result));
        490           return (ISC_R_UNEXPECTED);
        491      }
        492
        493      result = isc_socketmgr_create2(ns_g_mctx, &ns_g_socketmgr, maxsocks);===========================> here. (notice the error message and the actual function called are not the same).
        494      if (result != ISC_R_SUCCESS) {
        495           UNEXPECTED_ERROR(__FILE__, __LINE__,
        496                      "isc_socketmgr_create() failed: %s",
        497                      isc_result_totext(result));
        498           return (ISC_R_UNEXPECTED);
        499      }
        500      result = isc_socketmgr_getmaxsockets(ns_g_socketmgr, &socks);
        501      if (result == ISC_R_SUCCESS) {
        502           isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
        503                      NS_LOGMODULE_SERVER,
        504                      ISC_LOG_INFO, "using up to %u sockets", socks);
        505      }
        506
        507      result = isc_entropy_create(ns_g_mctx, &ns_g_entropy);
        508      if (result != ISC_R_SUCCESS) {
        509           UNEXPECTED_ERROR(__FILE__, __LINE__,
        510                      "isc_entropy_create() failed: %s",
        511                      isc_result_totext(result));
        512           return (ISC_R_UNEXPECTED);
        513      }
        514
        515      result = isc_hash_create(ns_g_mctx, ns_g_entropy, DNS_NAME_MAXWIRE);
        516      if (result != ISC_R_SUCCESS) {
        517           UNEXPECTED_ERROR(__FILE__, __LINE__,
        518                      "isc_hash_create() failed: %s",
        519                      isc_result_totext(result));
        520           return (ISC_R_UNEXPECTED);
        521      }
        522
        523      return (ISC_R_SUCCESS);
        524 }And in isc_socketmgr_create2():
       3384 isc_result_t
       3385 isc_socketmgr_create2(isc_mem_t *mctx, isc_socketmgr_t **managerp,
       3386                 unsigned int maxsocks)
       3387 {
    <SNIP>
       3488
       3489      /*
       3490       * Set up initial state for the select loop
       3491       */
       3492      result = setup_watcher(mctx, manager);===============================>will call open() on /dev/poll.
       3493      if (result != ISC_R_SUCCESS)
       3494           goto cleanup;
       3495      memset(manager->fdstate, 0, manager->maxsocks * sizeof(int));
    Other the above, I cannot really understand or help further. But I know it should fail in somewhere in setup_watcher() in socket.c.

  • Intranet DNS

    I am running a website on my server and I works great! I am using dyndns.com to forward users connecting to example.com to my external IP address. So my website's links are setup as "http://example.com/...." but when users connect inside my local network they have to type in the _.local address every time to open a site. I have been looking at the documents from apple and can't get any sense out of them to setup DNS to forward "http://example.com/...." to my local IP address before it leaves the network.
    I am connected to the internet through a DSL router. Thanks!

    Well, my thoughts (and practices) are that the only use of this would be for publicly available services, namely mail, web and DNS, all lightweight protocols. This saves you from configurations that break depending on your location, and any file moving operations can and should be done via the local name, e.g. internal.example.com.
    IF you don't have to worry about roaming laptops at all, I'd consider internal DNS. If you're only dealing with a few machines to manually configure the /etc/hosts file on, then I'd consider that too, but the simplicity of merely getting a router that supports NAT loopback is definitely my preference. It's the first feature I check for in a router nowadays.

  • 2TB TC Version 7.5 DNS Proxy to Local Server - How?

    Ok, so TC Proxies DNS. Great. That means that DHCP clients get the TC IP (10.0.1.1) in my case as their DNS server. Here's the problem, I don't want TC to proxy to the ISP DNS, nor to OpenDNS,
    nor to Google DNS, but to 10.0.1.2 which is my brand new mac MINI server providing DNS services.
    The trouble is it will not allow you to set a local service as the primary DNS IP, only as the Secondary IP.
    The problem is that aside from leaking internal network lookups to your upstream DNS service, it doesn't fail over to the secondary, so is essentially useless.
    Apple, we need a way to point TC to an internal network DNS server.

    Ok, Definitely this is a bug.
    I decided to look into it again last night, and here's the findings.
    First off, I decided to switch from google DNS to OpenDNS and so went
    and change the DNS entries from 8.8.8.8 to the appropriate OpenDNS IP's.
    Saved, rebooted, and the TC still had 8.8.8.8 as the DNS entry.... ***?
    So, reset to factory settings.
    Config everything again, and this time set the DNS to the internal 10.0.1.2/3
    IP's. Voila, works great, kept the internal DNS and proxies to it just fine.
    Enabled guest network, which hands out the TC as the DNS server, rather than
    the servers on the internal network.
    You should not have to reset to factory settings to reset the DNS entries.
    Also, it would be better/desirable if the GUI allowed setting the DNS servers
    for the primary and guest network individually. That way you can set the guest
    to use something other than your ISP (eg. openDNS) and set the primary to use
    the internal DNS server on say a mac-mini.
    BTW, the reason that you want to do this is, is that you can then setup an internal
    network (eg. home.net) and put devices on it, named in the local DNS server.
    Anyway, it now works, but Apple pls fix, and document better.

  • Backup/Restore services settings with serveradmin

    Hi,
    I try to make a script to backup my services settings.
    No problem for backup this informations, but the problem is for restoration. It appears that nothing works ...
    For exemple, if I backup dns config like this : +serveradmin -x settings dns > config_DNS.bk+, then I delete a primary zone and try to restore config : +serveradmin settings < config_DNS.bk+, the primary zone isn't recreate.
    The only workaround I have found, it's to replace (via sed) in the backup file <key>configuration</key> by +<key>DNS Config</key>+ and restore it via the Server Admin GUI.
    Somebody confronted with similar problem ?
    Thanks in advance.
    Stéphane

    Have you tried just using the Export (& Import) features that are built into Server Admin (In the Server menu)?

Maybe you are looking for