Tagged Questions

Domain Name System (DNS) is a service that provides the resolution of host names to IP addresses.

learn more… | top users | synonyms

1
vote
0answers
11 views

Why are NS records needed in zone-files?

I installed BIND and I am aware that it is required to have at least two NS(Name Server) records in zone-file. This is true also for reverse-zone files. I understand that NS records point to ...
1
vote
1answer
136 views

wget is unable to resolve host address 80% of the time

I have a wget 'http://xxxx.net/somepage.asp?params@abc' in a bash file. When I run it, four out of five times it says: Resolving xxxx.net (xxxx.net)... failed: No address associated with hostname. ...
1
vote
1answer
21 views

How can I go about tracking down DNS queries?

I was looking at the dnsmasq logs on a router I run and noticed that there are requests to a particular url on a regular basis. This was happening while the only client connected to the network was my ...
1
vote
1answer
16 views

Resolving DNS through HTTP/HTTPS

Is there a way to resolve DNS through HTTP/HTTPS, the case was: my ISP redirecting every DNS request to their own DNS and poisoning the DNS records. all I need is a software that could resolve ...
1
vote
0answers
27 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
-2
votes
0answers
27 views

no ping to newly added /etc/host [closed]

I just added some cat /etc/host 127.0.0.1 google.com goo ping goo ping: unknown host goo ping google.com | head -1 PING google.com (109.194.169.113) 56(84) bytes of data. Nothing changes after: ...
1
vote
1answer
16 views

Configuring Named DNS zones (Centos7), specifically CNAME

having trouble with some DNS configuration, I have managed to get part of the site working, however adding the prefix 'www', I'm finding a little tricky. Essentially, what I want is mysite.net -> ...
0
votes
0answers
39 views

Look up ip addresses of multiple hosts with same name

Is there any way to look up the ip addresses of all hosts with the same host name? The reason I want to do this is that at work I prefer to use an ethernet connection with my laptop whenever possible ...
0
votes
0answers
37 views

Kali dnsspoof not redirecting

I am trying to do some "dnsspoof" examples in kali/linux.I set up a windows machine(client:192.168.1.24) and a kali/linux (server:192.168.1.23) I changed preferred dns address to server address in ...
1
vote
0answers
24 views

Forwarding DNS traffic for specific domain

I'm trying to control which IP address I use for DNS based on the domain string. I'm on Fedora with firewalld and have tried the command: firewall-cmd --direct --add-rule ipv4 filter PREROUTING 0 -t ...
2
votes
0answers
20 views

How do I manage resolv.conf with Puppet and NetworkManager?

I have some hosts that have explicitly managed resolv.conf files. I have others that rely on NetworkManager, which does many things including writing the resolv.conf file. Is there a consistent way ...
2
votes
1answer
71 views

How to completely block a website like Facebook?

I'm trying to block Facebook access from my home system (Ubuntu). I could add facebook.com to /etc/hosts, but that would only prevent accessing facebook.com. There are many other ways I could use ...
0
votes
0answers
18 views

Spoof DNS on Access Point

Hello I'm gonna try to explain the situation as best as possible, so that maybe, someone can understand well the "problem" and help me. I have on a Debian 7 and I am using 2 interfaces: -eth0: ...
2
votes
1answer
26 views

Why is ping6 using IPv4 socket?

I enabled IPv6 in a CentOS 7 server and everything is working as expected, except for ping6: it is showing 3-5 delays between requests (but the RTT is fine): $ ping6 www.google.com <...5 ...
3
votes
2answers
43 views

Should /etc/hosts contain the domain name or the FQDN?

If I want to add an entry to /etc/hosts to resolve all traffic for example.com to 1.2.3.4, do I need to add 1.2.3.4 example.com 1.2.3.4 www.example.com 1.2.3.4 smtp.example.com 1.2.3.4 ...
0
votes
3answers
57 views

How to get primary DNS server ip of specific domain?

I thought it is possible via nslookup, but when I use nslookup stackoverflow.com it gives me different ip (198.252.206.16) than whois cf-dns02.stackoverflow.com (173.245.59.4)
6
votes
1answer
108 views

First sudo always slow

The first sudo I enter on my Ubuntu 14.04 server is always slow. The password prompt displays immediately, but after I press enter it takes about 10-15 seconds until the output is printed. All sudo ...
2
votes
1answer
34 views

Dig command: Is the output guaranteed to be sorted?

Let's say I'm trying to lookup the IPs mail.yahoo.com, gmail.com and mail.google.com If I execute: dig @8.8.8.8 +nocomments +noquestion \ +noauthority +noadditional +nostats +nocmd \ ...
1
vote
0answers
21 views

lynx domain shows 404 error when running from localhost

I have a strange problem and I don't know where I have to take a look to fix the issue. I am running the command lynx https://example.com/index.php from the server where the website is hosted on and ...
3
votes
0answers
48 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
1
vote
1answer
48 views

Reverse DNS PTR lookups ocurring on each connection

I'm running a Debian-based VPS (Linux vps 2.6.32-042stab092.3 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 GNU/Linux) which is behaving a bit strange. Whenever a new connection is established to it, it ...
2
votes
0answers
53 views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
1
vote
1answer
41 views

Allow Linux to connect with addresses containing domains with dash followed by dot

I can't connect with addresses containing domains with dash followed by dot, for example: http://example-.domain.tld/ The only solution I found for this is adding domains like those to /etc/hosts, ...
3
votes
1answer
45 views

dnsmasq - how to measure DNS cache efficiency / cached items

I've configured dnsmasq as a caching-only DNS server on a Debian server, and it's working well (I'm seeing improved DNS response times via dig). However, I'd like to understand what dnsmasq is ...
0
votes
0answers
25 views

I'm trying to create a public TLD using BIND

I'm using these two guides: jackal777.wordpress.com/2013/11/19/custom-tld-for-local-network/ timg.ws/2008/07/31/how-to-run-your-own-top-level-domain/ When I run dig sokolovskaya.ssu, it looks ...
0
votes
0answers
60 views

Routing incoming source IP traffic to a loopback IP issue

I'm wanting to accomplish the following: I have a BIND DNS server setup where it is listening on ANY address and also listening in a BIND config ACL on 127.0.1.1. If there is another way where you ...
1
vote
1answer
26 views

How to verify hosts are being denied access to nameserver?

[root@workshop1 /]# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:AF:A3:28 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
0answers
15 views

OpenSSH: UseDNS is not enforced

I cannot get the UseDNS constraint to work. It is set to UseDNS=yes on the server running sshd. That server queries a local DNS server which is the authority for each host on the network. Each host ...
1
vote
2answers
62 views

Browsers doesn't see an aliases in /etc/hosts

A firm where I'm working uses an internal site with documentation and etc. where all references made e.g. to «srv-moss» — this names should be defined in hosts file, where I did added it. It works ...
1
vote
2answers
190 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
3
votes
1answer
30 views

DNSSEC: how are DS records supposed to be transferred and end up in parent zone?

My notes say that the hash is supposed to securely sent and stored in parent zone so what do I do after: dnssec-keygen -a RSASHA256 -b 1024 -n ZONE mydomain.net dnssec-keygen -a RSASHA256 -b 2048 -n ...
1
vote
0answers
200 views

List all subdomains with dig [closed]

What is the equivalent of Windows's nslookup> ls -d in dig? This nslookup command lists all record types for all subdomains of the specified domain, i.e. lists the full content of the zone. Here is ...
0
votes
0answers
32 views

rndc recursing usage

I have the following /etc/named.conf file con CentOS 7 options { listen-on port 53 { 192.168.0.107; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; ...
2
votes
0answers
19 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
0
votes
2answers
91 views

Can two hosts have the same IP address in /etc/hosts?

can two hosts share the same IP Address without a conflict. This is how my /etc/hosts looks like :- $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 debian 127.0.1.1 mini Now as can be seen ...
0
votes
1answer
42 views

Reverse dns using dns server of domain

I need to check a reverse dns using the DNS servers of some domains. But I'm having some problems. dig -x 212.26.146.21 +short mx20.gypost.com. all ok dig -x 212.26.146.21 @8.8.8.8 +short ...
0
votes
1answer
25 views

Is it possible to suggest an IP to my DHCP server for my client to use?

Is it possible for a DHCP client on Linux to suggest an IP to a DHCP server? I have no access to the DHCP server. I cannot use static networking, or DNS will not work. (DNS on my network is set up ...
2
votes
1answer
127 views

Not see file NetworkManager.conf in folder /etc/NetworkManager/

My network connectivity often gets interrupted when I use the local DNS server at the company, I wanted to change dns=dnsmasq to #dns=dnsmasq in /etc/NetworkManager/NetworkManager.conf. But I do not ...
2
votes
0answers
24 views

Assign Special Records for specific remote clients DNSmasq

I'd like to make DNSmasq serve special records for specific remote clients (Clients from the public internet) So for example if remote host 111.111.111.111 requests www.example.com it returns 3.3.3.3 ...
-2
votes
2answers
66 views

Apache web server configuration with a DNS server Linux 14.04 LTS [closed]

I need to configure a Apache web server with a DNS server, it can be a simple local server configuration just to practice and see how a DNS server resolves a URL to an ip address and connects to a web ...
1
vote
2answers
19 views

Linux apache set custom launch page Virtualhosts

I set up DNS and virtualhosts on my Linux system but when surfing to ex: www.vb1.be it shows the correct directory (home/vb1/) and their subdirectories. I know this is because the main html file that ...
1
vote
0answers
94 views

Postfix unable to send mail from mydomain only

My domain DNS is served by the domain registrar. I am able to send mail successfully from any address with postfix but not from mydomain.com From this machine - I only want to be able to send mail. ...
0
votes
0answers
28 views

DNS local area vs DNS Virtualbox

I have been trying to set up a DNS server on my system using Linux and bind. (I'm working with CentOS and Linux on my Windows 7) On my Linux everything seemed to work:I can access my server and ...
0
votes
2answers
138 views

My local DNS don't resolv specific hostnames IP's

I've been trying to accomplish a DNS set up on my local machine using Linux and CentOS. I've been following couple of tutorials and eventually everything seemed to work but when surfing to my ...
1
vote
1answer
99 views

Can subsequent nameservers defined in /etc/resolv.conf be used if the previous nameservers can not be resolved?

I don't know much about networking...but I've been spending a lot of time reading about it. In my /etc/resolv.conf I have listed 3 nameservers. I understand that the second name namer is used only ...
2
votes
1answer
63 views

Domain name resolution tool not specific to DNS [duplicate]

host, dig and nslookup can be used to lookup DNS names from the command line. However, they query the names from the DNS server directly, instead of using nsswitch to resolve host names. This means ...
4
votes
2answers
80 views

Is whois command safe for privacy?

I remember in the past that companies such as Network Solutions will steal your searched domain name when you perform a domain search at their website. I want to know, is the built-in command whois ...
3
votes
3answers
119 views

How can unix computers find each other by hostname?

I have a home-network with several windows and Linux machines which have samba installed. on windows I can find each other computer fine via its hostname. however on a linux computer I cant find any ...
2
votes
1answer
60 views

Can't acces DNS

I'm running CentOS as a Virtual Machine. I can access the VM's server (IP = 192.168.0.107, which displays a phpinfo() page as it should), but now I would like to acces a custom domain name: "imd.be" ...
0
votes
1answer
60 views

Pointing domain name to server

I am still a newbie when it comes to Linux, and I recently bought 2 domains from NameCheap. Running a LEMP stack on Debian 7 and want to know how I can create name servers like ns1.example.com and ...