Results 1 to 4 of 4

Thread: Multiple DNS Servers

  1. #1
    Join Date
    May 2007
    Location
    London
    Beans
    120
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Multiple DNS Servers

    I'm trying to use 2 DNS servers on ubuntu for 2 wildcard urls.

    example_a.dev and example_b.dev

    example_a.dev is my local machine(with bind9) and example_b.dev is a remote dns machine(running ubuntu with bind9).

    I've configured my resolve.conf like this.

    search example_a.dev
    nameserver 192.168.1.1
    search example_b.dev
    nameserver 192.168.1.2

    But example_b.dev is never resolving.

    I also tried using a forwarder in /etc/bind/named.conf.options

    forwarders {
    192.168.1.2;
    };

    But again example_b.dev never gets resolved. Without the example_a config settings example_b works fine.

  2. #2
    Join Date
    Aug 2010
    Location
    Between Heatsink and CPU
    Beans
    538
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Multiple DNS Servers

    Have you tried somehting like this instead :

    search example_a.dev example_b.dev
    nameserver 192.168.1.1
    nameserver 192.168.1.2

    I beleive this is the correct way to do it. Reboot the computer afterward, verify that the entries have not changed and retry your tests.

    Tell me if it helps.

  3. #3
    Join Date
    May 2007
    Location
    London
    Beans
    120
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Re: Multiple DNS Servers

    It's a bit flaky but that appears to have solved it.

    Many thanks!


  4. #4
    Join Date
    Aug 2010
    Location
    Between Heatsink and CPU
    Beans
    538
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Multiple DNS Servers

    My Pleasure

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •