Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [recursive]

The tag has no usage guidance.

0
votes
2answers
336 views

Set Owner by Folder Name Recursivly Powershell

I have a persmissions problem, on our Fileserver, where the NTFS Owner was not copied correctly, these are Citrix UPM Profiles, I found a script, for this but it does not work recursivly: $Path = ...
0
votes
1answer
51 views

Recurse into subdirectories and prefix all files with the name of its holding directory

I have files in subdirectories A, B, C Each directory has files of various names, lets say 1.txt 2.txt 3.txt in each although the names are not relevant as such. I want to run a bash shell script ...
0
votes
1answer
129 views

Caching values and changing nameservers

I have just realised my understanding of DNS caching must be at least slightly flawed, and I'm looking to correct my understanding. When a domain name is registered, I understand that the ...
1
vote
0answers
168 views

Server 2016 DNS non-recursive

I think I have half of the answer, but need help with the final steps... I'm trying to configure our Windows 2016 DNS servers to respond as recursive servers for clients on our internal subnets, but ...
0
votes
1answer
120 views

bind9: how to query external nameservers in local zone config

I have configured a zone in my bind9 installation. Its supposed to be a public nameserver which I am managing through a python script for dyndns subdomains. But my main website is hosted by 3rd party ...
0
votes
0answers
116 views

Recursive Server answers with CNAME but does not return the A record

this is my first post here so go easy and thanks in advance :) I have a recursive DNS server that forwards to my primary DNS servers in order to get a resolution. Take the example I have the ...
2
votes
2answers
33 views

Can I reduce CPU usage on a large recursive find + chmod command?

I'm using the following command to perform permissions fixes: sudo find . -type f -exec chmod 470 {} \; There are many thousands of files to update the permissions on. It also spikes the CPU usage ...
2
votes
0answers
909 views

DNS on Windows Server 2016: Not performing recursive lookup when name server returns a CNAME

I am running Windows Server 2016 Datacenter; DNS Server role. I have a stub zone configured for a frequently used domain. The stub zone is properly configured and populated with valid NS and glue A ...
0
votes
0answers
58 views

DNS latency is more than 1600 ms

We have a situation. Our client has a Infoblox DNS, when we perform a recursive qury pointing to the Infoblox DNS, infoblox forwards it to two different forwarders. In the end, it takes more than 1000 ...
3
votes
1answer
726 views

BIND recursive not resolving some domains

I have a recursive caching BIND/named setup and it does not want to resolve some domains. I see those errors in logfile: Dec 22 11:53:02 router2.lan named[301]: skipping nameserver 'ns0.flowerfire....
0
votes
0answers
31 views

PowerDNS : Respond differently based on Client IP address [duplicate]

Currently I'm using Bind9 for my DNS server. It was set-up in such a way that the server respond differently depending on which IP the request came from. I'm using Bind's View to achieve this. The ...
3
votes
1answer
96 views

I've accidently run chmod -R 600 / on ubuntu AWS Server

I've accidently run chmod -R 600 / on ubuntu AWS Server. Tried stopping it but didn't happen. Is there a way by which I can atleast backup my data present in the server. Thanks.
1
vote
2answers
2k views

How to disable open recursive dns in dnsmasq?

How do I secure my DNS server (dnsmasq)? According to a testsite, my DNS server can be exploited
1
vote
1answer
862 views

Changing all HTML absolute links to relative [closed]

I have a website that has a bunch of absolute addresses, and I need to move it (the whole contents of that website) up a level, so all of the absolute links need to be converted to relative. I know ...
0
votes
2answers
21 views

How would I list owners and permissions for all directories named X recursively?

Basically I would like to do a 'ls -l' recursively showing only those directories named web. How would I accomplish that?
1
vote
1answer
213 views

Accidently ran rm -fr in a directory but nothing happened

Can someone confirm that running the command rm -fr without the / does nothing? I accidentally ran rm -rf in my command line and it seemed to do nothing. I am running a jail-shelled cPanel account ...
13
votes
2answers
2k views

How can I resolve DNS problems somewhere in the middle of recursion?

I have a really weird problem with my DNS. My domain name (strugee.net) is unresolvable from some networks, and resolvable from others. For example, on my home network (same network the server's on): ...
0
votes
1answer
2k views

lftp reverse mirror silently skips files in subfolders

I'm using lftp to push content to an ftp-only web-server. It worked to upload the files recursively at first, and even incrementally. Any idea why this would skip files changed in a subfolder, but ...
-1
votes
3answers
960 views

PowerDNS: Is it possible to send different results based on server IP used by the client?

I would like to setup a recursive DNS server with multiple IPs all on the same PowerDNS server. Let's say: 8.8.8.1 8.8.8.2 8.8.8.3 8.8.8.4 I was wondering how I could send different responses based ...
2
votes
1answer
410 views

Is answering a DNS Query to “local” or “home” with no answer section correct?

We're running a private recursive DNS (bind 9.10.3) for a small group of people outside our network to speed-up their browsing speed. I've noticed recently that our server is answering queries with "....
0
votes
1answer
25 views

wget blocking subdirectiories

I would like to recursively download a page, but block link like this containing "strony": http://domain.com/rozrywka/strony/2/ my command is wget -r -nd --delete-after -e robots=off -X strony http:...
0
votes
2answers
369 views

Bind DNS - Allow Recursion from Mobile Clients

I'm not quite sure how exactly to phrase what it is I need, which makes searching challenging. :) Basically I've got Bind DNS running on RackSpace instances and I want to set named up so that any of ...
9
votes
2answers
6k views

Bind DNS Recursion Slow

We have just setup a recursive DNS server using the latest stable release of Bind 9.10 We are finding that recursive DNS lookups are quite slow. Anywhere from 1 - 3 seconds. Once the lookup is in ...
1
vote
1answer
246 views

Is a DNS Referral response always honored?

Using the DNS protocol in a man-in-the-middle service, I want to execute a friendly takeover on predefined A and CNAME records. Anything that doesn't meet the predefined criteria I would want to hand ...
1
vote
2answers
348 views

puppet directory trees creation from a variable

Im trying to create directory tree using puppet. Ex dir => /home/any_dirname/any_dirname2/any_dirname3/ Is it possible to create above tree in puppet where dirname can be anything so im taking it as ...
-1
votes
1answer
2k views

Recursion not available, but still gives answer

I tried to dig a domain on a non-recursive DNS server. From what I know (so far), a non recursive DNS is not supposed to answer what they are not authoritative for. For example : [root@dhcppc14 ...
1
vote
1answer
1k views

Rsync over ssh folder depth limit?

i'm working on a server migration and run into the following problem: I'm running rsync to migrate all the data but for some reason there is a folder depth limit... This is done via rsync over ssh ...
3
votes
1answer
65 views

Renaming files recursively and moving them inside one single directory

I have a project with 500k users in CentOS. The picture file/directory structure was setup like this (yeah... i know): user/0070/ this is the user ID / 1000, so that all users in the range of [70000-...
-1
votes
1answer
217 views

chowned root directory recursive [duplicate]

accidently I did "chown -R www-data:www-data /" (I wanted to chown current directory). Is the only good way now to set the system up again from beginning? waaaah -.- Thanks
2
votes
1answer
1k views

puppet: enable / disable recurse directories

so i have a basic modification module which applies to all servers managed through hiera. One submodule is called "files" and puts the scripts to /usr/local/bin/ of each server. So it iterates through ...
5
votes
2answers
799 views

Bypass DNSSEC for local Stub zones

I am using bind 9.9.2 as a DNSSEC validating recursive resolver in an Internet DMZ. I want to point to my internal DNS servers as stub zones (ideally) or anything except slave zones (to avoid very ...
6
votes
2answers
1k views

restarting all specific units on systemctl without for loop?

Is someone here able to start/stop/reload/... a list of units specified with a wildcard or similar method on systemctl? I try do do somethin like: systemctl restart openstack-nova-*.services or ...
2
votes
1answer
360 views

How to safely change owner:group recursively?

I'm copying one users home directory to be the home directory of user #2, and therefore need to chown the contents to the new user. Running: find /home/user2 -user user1 -exec chown user2 '{}' \; ...
-4
votes
3answers
7k views

Find in all sub directories [closed]

I have a directory with many sub directories, I want to find a file in this directories so I use this command: find ./ -name test.php but this command search just in the top level directory, how ...
-3
votes
1answer
2k views

Chmod all files and directories recursively to 666 under /usr [duplicate]

I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example: chmod 666 /usr I want that every directory under "/usr" turn into permissions to ...
-1
votes
1answer
165 views

Purpose of -r option in chown [closed]

Newbie here. Can someone please explain what it means to do something "recursively", in plain language? I have looked at search results for HOURS without finding anything that simply says what it ...
3
votes
1answer
6k views

Recursive forward a zone in BIND

I have a VPS with BIND set up. It works well for several months. Recently I want to set up another DNS program to manage foo.example.org subdomain on this VPS. I've setup these in dns.he.net: foo....
-1
votes
2answers
2k views

Multiple authoritative DNS server on same IPv4 address

I'd like to maintain a DNS tunnel on my self-hosted server at example.com. I also have a DNS server on it, which serves everything for example.com. I'm currently using dns2tcp for DNS tunneling, on ...
-3
votes
1answer
268 views

How to search recursively for a file in linux? [closed]

I would like to search for a file recursively under a directory. How do I search recursively for that file: in the directory I am standing in? in a specific directory? The command should get a part ...
5
votes
2answers
232 views

Cache updates when migrating DNS from one provider to another

This may be a Windows DNS specific question or a general DNS best practice question - I'm not sure! We migrated our 3rd party DNS provision from provider A to provider B. I noticed that our internal ...
0
votes
2answers
156 views

Recursive deletion of files (bash)

I'm familiar with how I would tackle this with PHP, however I'd like to get some more practice with bash scripting. The task is to delete all files in a folder, which itself contains subfolders (...
5
votes
3answers
20k views

Change all file permissions to 644 and all folder permissions to 755 recursively

How to change all file permissions to 644 and all folder permissions to 755 recursively using chmod in the following two situation: If they had 777 permissions Regardless of the permission (with ANY ...
1
vote
1answer
671 views

recursive mounts not visible in endpoint

I have a little (virtual) infrastructure with multiple servers - and some of these configuration I cannot change because of software restrictions. 2 of the servers are WEBservers, and a NAS-like ...
0
votes
2answers
409 views

How long does it take to modify the permissions of /home/?

So I am using Transmit.app for my SFTP client and I changed permissions in /home/ and pressed the "Apply to Enclosed..." option as well. So essentially it is applying the desired permission to every ...
2
votes
2answers
3k views

how solve Recursive Queries error in intodns web site?

Please see the below link : intoDNS Web Site How can I solve Recursive Queries error! the entire error is below : Recursive Queries I could use the nameservers listed below to performe ...
8
votes
3answers
3k views

Can Hyper-V run in a virtual machine?

Ok, we all know (or should know) that Microsoft's answer is a plain "NO!". But we also know that recent hypervisors can support nested/recursive virtualization, provided the underlying CPU offers ...
0
votes
1answer
38 views

Change group of only cache folders, recursive

I have a document root folder and I want to cange the group of only the cache directories. How can I do this recursive? The cache directories are always below templates/html, and I want to change it ...
1
vote
2answers
1k views

revert chmod 777 / -R

while executing a command i made a mistake and executed (ubuntu 10) sudo chmod 777 / -R # okay you may laugh now all my filesystem has 777 permitions , obviously i dont know which ...
2
votes
7answers
3k views

Massive amount of subfolders and long subfolders. How can I delete all of them?

We have a little problem here. We have a share with the backup of all the server's offices, Its a really big share with more than 8.000.000 files. Our users usually give long names to the folders ...
17
votes
4answers
50k views

How to upload a directory recursively to an FTP server by just using ftp or lftp?

I am writing a Linux shell script to copy a local directory to a remote server (removing any existing files). Local server: ftp and lftp commands are available, no ncftp or any graphical tools. ...