• 1 Post
  • 21 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle




  • I don’t think this accomplishes what he wants. The router DHCP will assign the second DNS address as you mention, but the devices will select one at random, not as a backup/failover. So what happens is that devices sometimes go through the Pi-hole and sometimes go through the secondary DNS address and receive ads. The only real way I’m aware of is to have a second pi-hole for redundancy. Personally, I decided to use a cloud based service (NextDNS) for this exact reason. I didn’t want my families internet to rely on devices that I host.









  • From our friend ChatGPT:

    Certainly! You’re on the right track with your idea of selecting a style first and then selecting a random question based on that style.

    Here’s how you can structure this on Perchance:

    1. Define the question styles and tips:
    style
    Decriver ou expliquer au present
    Raconter au passé
    [... more styles ...]
    
    tipsForStyle
    [style:Decriver ou expliquer au present] 
    Tip for this style: [Tip for Decriver ou expliquer au present]
    [style:Raconter au passé]
    Tip for this style: [Tip for Raconter au passé]
    [... more tips for each style ...]
    
    1. Define questions for each style:
    questionsForStyle
    [style:Decriver ou expliquer au present]
    Où travaillez-vous?
    Où vous situez-vous au travail?
    [... more questions for this style ...]
    
    [style:Raconter au passé]
    Comment votre travaille a affecté par la pandemie ?
    Durant votre carrière, qu’est-ce qui a été le plus satisfaisant jusqu’ici?
    [... more questions for this style ...]
    
    1. Structure the main generator output:
    output
    <h1>[title]</h1>
    <h2>[title2]</h2>
    <h3>[title3]</h3>
    
    <h4>[title4]</h4>
    
    
    [style]
    
    
    [questionsForStyle]
    
    
    [tipsForStyle]
    
    1. Use this in the HTML area:
    <div>
        **[output]**
    </div>
    

    With this structure:

    1. A style will be chosen randomly.
    2. A question will be chosen from that style.
    3. The tip for the selected style will be shown below the question.

    You can further modify and expand upon this structure to customize the output to your liking!