Skip to content

Commit

Permalink
feat: add tab items to separate OS commands
Browse files Browse the repository at this point in the history
  • Loading branch information
cgkournelos-rf committed Aug 24, 2023
1 parent a3e460e commit 1bcee9f
Showing 1 changed file with 50 additions and 40 deletions.
90 changes: 50 additions & 40 deletions docs/data_engineers/accessing_data/elt_pipeline/elt_faq.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# FAQ

Expand All @@ -17,47 +19,55 @@ This error is most likely due to DNS resolution issues.

**Solution:** To resolve DNS resolution errors, you can change your DNS server to use a more reliable option such as Cloudflare's `1.1.1.1` or Google's `8.8.8.8`. Here are instructions for changing the DNS server on different operating systems:

- **Linux:**
1. Open the terminal.
2. Edit the `/etc/resolv.conf` file using your preferred text editor. For example:

```bash
sudo nano /etc/resolv.conf
```

3. Add the following lines at the top of the file to set your DNS server to `1.1.1.1`:

``` bash
nameserver 1.1.1.1
```

4. Save the file and exit the text editor.
5. Restart your network manager or networking service to apply the changes. The command may vary depending on your Linux distribution. For example:

```bash
sudo systemctl restart network-manager
```

- **Mac:**
1. Open the "System Preferences" from the Apple menu.
2. Click on "Network."
3. Select your active network connection (Wi-Fi or Ethernet).
4. Click the "Advanced" button.
5. Go to the "DNS" tab.
6. In the "DNS Servers" section, click the "+" button and add `1.1.1.1` or `8.8.8.8`.
7. Click "OK" and then "Apply" to save the changes.

- **Windows:**
1. Open the "Control Panel."
2. Click on "Network and Sharing Center."
3. Click on your active network connection.
4. Click "Properties."
5. Select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties."
6. Choose "Use the following DNS server addresses."
7. Enter `1.1.1.1` as the preferred DNS server or `8.8.8.8` as an alternative DNS server.
8. Click "OK" to save the settings.
<Tabs>
<TabItem value="linux" label="Linux">

<ul>
<li>Open the terminal.</li>
<li>Edit the `/etc/resolv.conf` file using your preferred text editor. For example:
<pre><code>
sudo nano /etc/resolv.conf
</code></pre>
</li>
<li>Add the following lines at the top of the file to set your DNS server to `1.1.1.1`:
<pre><code>nameserver 1.1.1.1</code></pre>
</li>
<li>Save the file and exit the text editor.</li>
<li>Restart your network manager or networking service to apply the changes. The command may vary depending on your Linux distribution. For example:
<pre><code>sudo systemctl restart network-manager</code></pre>
</li>
</ul>

</TabItem>
<TabItem value="mac" label="Mac">

<ul>
<li>Open the "System Preferences" from the Apple menu.</li>
<li>Click on "Network."</li>
<li>Select your active network connection (Wi-Fi or Ethernet).</li>
<li>Click the "Advanced" button.</li>
<li>Go to the "DNS" tab.</li>
<li>In the "DNS Servers" section, click the "+" button and add <code>1.1.1.1</code> or <code>8.8.8.8</code>.</li>
<li>Click "OK" and then "Apply" to save the changes.</li>
</ul>

</TabItem>
<TabItem value="windows" label="Windows">

<ul>
<li>Open the "Control Panel."</li>
<li>Click on "Network and Sharing Center."</li>
<li>Click on your active network connection.</li>
<li>Click "Properties."</li>
<li>Select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties."</li>
<li>Choose "Use the following DNS server addresses."</li>
<li>Enter <code>1.1.1.1</code> as the preferred DNS server or <code>8.8.8.8</code> as an alternative DNS server.</li>
<li>Click "OK" to save the settings.</li>
</ul>

</TabItem>
</Tabs>

**Note:** After changing your DNS server, you may need to restart your network connection or computer to apply the new settings.

**More Information:** If you continue to experience issues after changing your DNS server, please check your network configuration and ensure that your internet connection is stable.

0 comments on commit 1bcee9f

Please sign in to comment.