Questions tagged [recursive]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
121 views

Have unbound forwarding requests for all clients, except for a single one where it should recurse itself

I use unbound as caching and forwarding name server for my local network. That means that all requests which cannot be answered out of the cache are forwarded to an "upstream name server" – ...
Izzy's user avatar
  • 349
0 votes
1 answer
82 views

Is authoritative nameserver IP address cached by Recursive resolver?

I know that A,AAAA records will be cached by Recursive resolver and stub resolver. When a person searches a subdomain/domain, if it is CNAME record which is searched, the Resolver gets the ...
Allen Johnson's user avatar
0 votes
2 answers
531 views

How to disable reverse DNS lookup in Apache 2.2 or in recursive bind

I would like to stop Apache (2.2) from doing reverse lookups for client IP addresses. I have HostnameLookups Off and LogFormat "%h %l %u %t %V \"%r\" %>s %b \"%{Referer}i\"...
Ján Lalinský's user avatar
1 vote
2 answers
1k views

Bind9 allow zones only as part of recursive resolution

In my cloud environment, I have a bind9 server functioning as a proxy for all outgoing DNS queries generated in the environment. I'm currently trying to configure Bind to perform the following ...
FitzChivalry's user avatar
-1 votes
2 answers
1k views

Conditional forwarder for subdomain through DNS proxy

I have a Windows AD domain : contoso.local I want to forward all requests to some.contoso.local to another DNS server through forwarding DNS server: contoso.Local.DNS => Proxy.DNS => some....
filimonic's user avatar
  • 323
1 vote
1 answer
2k views

Recursive PowerShell script to protect all OUs and Objects from Accidental Deletion

I'm sure there has got to be an easier way that what I hand-jammed.... I'm trying to write and run a PowerShell script that will set the ProtectFromAccidentalDeletion flag to "true" ...
ShadowFox's user avatar
2 votes
1 answer
70 views

enabled recursion causes large send traffic

I had installed BIND service on my centOS 8 server with recursion yes; configuration. I noticed a very large traffic (~ 8 GB) is being sent from my server every hour and I could not detect what is the ...
SAndroid's user avatar
1 vote
1 answer
775 views

Create a tree-like structure with ansible

I have to create an LDAP structure with users and groups. The groups are a bit complex with a lot of nested groups etc. I need to create a tree like structure in my inventory, like the following: ---...
ptselios's user avatar
0 votes
1 answer
132 views

Answering cached DNS queries

I'm not sure how recursive resolves behave when its cache contains partial of the answer. Specifically, let's assume that first I ran this lookup request: dig example.com @8.8.8.8 Based on my ...
user5289027's user avatar
1 vote
2 answers
4k 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 = ...
sn976020's user avatar
0 votes
2 answers
1k 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 ...
Richard L's user avatar
0 votes
1 answer
146 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 ...
davidgo's user avatar
  • 6,242
1 vote
0 answers
613 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 ...
PPA's user avatar
  • 11
0 votes
1 answer
952 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 ...
bakasan's user avatar
  • 103
3 votes
2 answers
235 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 ...
Rebecca Dessonville's user avatar
2 votes
0 answers
2k 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 ...
Greg Tomsho's user avatar
2 votes
1 answer
2k 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....
FHR's user avatar
  • 45
0 votes
0 answers
132 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 ...
xar's user avatar
  • 131
2 votes
1 answer
143 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.
Akshay R.'s user avatar
2 votes
2 answers
7k 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
oOc's user avatar
  • 131
1 vote
1 answer
3k 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 ...
BubbleFish's user avatar
0 votes
2 answers
25 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?
Frank Barcenas's user avatar
1 vote
1 answer
449 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 ...
adjc98's user avatar
  • 13
13 votes
2 answers
3k 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): ...
strugee's user avatar
  • 891
2 votes
1 answer
4k 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 ...
Josiah Yoder's user avatar
-1 votes
3 answers
2k 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 ...
plz's user avatar
  • 11
2 votes
1 answer
767 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 "....
Kladskull's user avatar
  • 1,255
0 votes
1 answer
60 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:...
Marek Zakrzewski's user avatar
1 vote
3 answers
1k 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 ...
justinzane's user avatar
9 votes
2 answers
10k 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 ...
ausip's user avatar
  • 416
1 vote
1 answer
672 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 ...
ihavenoideawhatimdoing's user avatar
1 vote
2 answers
380 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 ...
Kittu's user avatar
  • 11
0 votes
2 answers
4k 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 ...
vwxyzx's user avatar
  • 11
2 votes
1 answer
2k 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 ...
Rein Van 't Veer's user avatar
3 votes
1 answer
72 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-...
Carlos Santos's user avatar
-1 votes
1 answer
249 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
bagbag's user avatar
  • 31
2 votes
1 answer
2k 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 ...
tommics's user avatar
  • 111
5 votes
2 answers
2k 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 ...
Starsky's user avatar
  • 103
6 votes
2 answers
3k 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 ...
Dr I's user avatar
  • 955
2 votes
1 answer
669 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 '{}' \; ...
superboot's user avatar
  • 123
-4 votes
3 answers
9k 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 ...
MajAfy's user avatar
  • 107
-2 votes
1 answer
4k 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 ...
guisantogui's user avatar
-1 votes
1 answer
192 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 ...
Bill's user avatar
  • 29
3 votes
1 answer
11k 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....
Zhuoyun Wei's user avatar
0 votes
2 answers
3k 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 ...
Adrien Clerc's user avatar
-3 votes
1 answer
347 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 ...
alwbtc's user avatar
  • 229
5 votes
2 answers
317 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 ...
JohnCC's user avatar
  • 292
0 votes
2 answers
163 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 (...
a coder's user avatar
  • 789
8 votes
3 answers
33k 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 ...
smhnaji's user avatar
  • 619
1 vote
1 answer
746 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 ...
Dionysius's user avatar
  • 223