mirror of
				https://github.com/uklans/cache-domains
				synced 2025-11-04 01:58:51 +01:00 
			
		
		
		
	fix: explicitly block returning on ipv6 queries
This commit is contained in:
		
							parent
							
								
									26a7b3d808
								
							
						
					
					
						commit
						2b5f32a4a9
					
				@ -59,7 +59,8 @@ while read entry; do
 | 
			
		||||
                    continue
 | 
			
		||||
                fi
 | 
			
		||||
                for i in ${cacheip}; do
 | 
			
		||||
                    echo "${domainprefix}${parsed}^\$dnsrewrite=${i},dnstype=A" >> ${outputfile}
 | 
			
		||||
                    echo "${domainprefix}${parsed}^\$dnsrewrite=${i}" >> ${outputfile}
 | 
			
		||||
                    echo "${domainprefix}${parsed}^\$dnstype=AAAA" >> ${outputfile}
 | 
			
		||||
                done
 | 
			
		||||
            done <<< $(cat ${basedir}/$filename | sort);
 | 
			
		||||
        done <<< $(jq -r ".cache_domains[${entry}].domain_files[${fileid}]" ${path})
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user