Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Help setting up DC, DNS issue?, Can't ping domain name
corpusdilecti
post Apr 29 2017, 12:56 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 29-April 17
Member No.: 19,310



So I'm following the tecmint tutorial to install samba 4 active directory on ubuntu, but I'm running to an issue with resolving my domain name. I can ping the FQDN and Host, but not the domain name. Here is my setup:

Hostname:

adc1

Hosts file:

127.0.0.1 localhost
127.0.1.1 adc1.tirnanog.local adc1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# Wired network connection
auto eno1
iface eno1 inet static
address 192.168.1.200
netmask 255.255.255.0
broadcast 192.168.1.254
gateway 192.168.1.1
dns-nameservers 127.0.0.1 192.168.1.200 192.168.1.1
dns-search tirnanog.local

/etc/resolv.conf

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search tirnanog.local

When I try to ping, these are the results that I get:

root@adc1:/# ping -c3 tirnanog.local
ping: unknown host tirnanog.local

root@adc1:/# ping -c3 adc1.tirnanog.local
PING adc1.tirnanog.local (127.0.1.1) 56(84) bytes of data.
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=1 ttl=64 time=0.049 ms
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=2 ttl=64 time=0.060 ms
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=3 ttl=64 time=0.061 ms

--- adc1.tirnanog.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.049/0.056/0.061/0.010 ms


root@adc1:/# ping -c3 adc1.tirnanog.local
PING adc1.tirnanog.local (127.0.1.1) 56(84) bytes of data.
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from adc1.tirnanog.local (127.0.1.1): icmp_seq=3 ttl=64 time=0.062 ms

--- adc1.tirnanog.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.052/0.058/0.062/0.007 ms


Can anyone give me a hand and let me know what I'm doing wrong? I have a good feeling it is something to do with the dns-nameservers, but I've tried changing them a few time in /etc/network/interfaces and I can't seem to get anything to work.

By the way, this is what I'm running:

Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

Please, let me know if there is any other info needed. Thanks!
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Apr 30 2017, 06:30 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Can you post the link to the tutorial?

What local DNS server are you running?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th November 2017 - 12:14 AM