Tag Info

Hot answers tagged

11

Your last paragraph is correct. The "Recursion Desired" (RD) flag sent by the client in the DNS request header (see RFC 1035) asks the server "please give me the complete answer to this question". That server than iteratively asks the chain of name servers for the correct answer. Those queries shouldn't themselves have the RD bit set. Ultimately the ...


4

As far as I understand it, "recursive lookup" is solely from the view of the original querier. So, if it asks a DNS server and gets a completely resolved answer back, then it is a "recursive query". If that server in turn does recursive or iterative lookups is, well, not something the original querier has to care about.


1

This should do (note that this is untested): #!/bin/bash BASE_DIR="/var/www/testing" NEW_BASE_DIR="/var/www/testing/old" FILE_EXTENSIONS_TO_MOVE="zip" # If the new directory doesn't exist, create it if [ ! -d ${NEW_BASE_DIR} ] ; then echo "Creating ${NEW_BASE_DIR}" mkdir ${NEW_BASE_DIR} fi echo "Moving files with extension .${FILE_EXTENSION} in ...


1

I understand what you're asking and the answer is that the Windows DNS client is a stub resolver and cannot follow DNS referrals. When you disable recursion on your DNS server you break the DNS client on the Exchange server because the DNS client on the Exchange server isn't capable of following referrals from the DNS server. Assuming that the DNS server ...


1

While not exactly graceful the following should do the trick: for modfile in `find <dir> -name "*.matthew05012013"`; do realfile=`echo $modfile | sed 's/.matthew05012013//'` cp $modfile $realfile done I did it to a test directory: $ find /tmp/deleteme/ /tmp/deleteme/ /tmp/deleteme/1 /tmp/deleteme/1/filea /tmp/deleteme/1/fileb ...


1

Untested but how about something like this: $acls = @{}; Get-ChildItem Template | Where-Object { $_.PSIsContainer } | ForEach-Object { $acls[$_.Name] = Get-Acl $_.FullName ; } Get-ChildItem Folder2 -Recurse | Where-Object { $_.PSIsContainer -and $acls.ContainsKey($_.Name) } | ForEach-Object { Set-Acl $_.FullName $acls[$_.Name] ...



Only top voted, non community-wiki answers of a minimum length are eligible