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

learn more… | top users | synonyms

-1
votes
1answer
36 views

Explain this dig command

Please explain what this command will do and whether it can be undone: dig +nocmd strongimages.tld mx +noall +answer
0
votes
0answers
9 views

How to find that my site is loading from which CDN location? [migrated]

I have configured Akamai CDN for my site but I need to know while we loading the site in browser from which CDN location the site is loading. How can we change CDN location? Or can we by-pass the ...
0
votes
1answer
32 views

How to understand TTL values in dig command output?

I am reading about how DNS works in general. From the wiki entry of TTL, I understand TTL (Time to Live) occur in the Domain Name System (DNS), where they are set by an authoritative name server for a ...
2
votes
1answer
23 views

PowerDNS not resolving host computer

I just finished setting up PowerDNS to avoid having to remember all my IP addresses and it seems to work pretty fine, most host names resolve just fine but not the one running PowerDNS (named ...
0
votes
0answers
12 views

DNS Issues On ISPconfig3

I use ISPconfig3 to host a couple of test sites. I recently had to change my public IP address, so I made changes to ISPconfig per recommendations from the community. However, I have not been able to ...
1
vote
0answers
14 views

openwrt: dns resolving error from wifi connected devices

I am not sure what have I messed up, but I cannot resolve other pc's in my local network from the wifi-connected devices (laptops and cell phones). I have a separate tower-pc that acts as a dns and ...
0
votes
0answers
21 views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
1
vote
2answers
48 views

How to make resolvconf append nameservers to the list instead of prepending them?

I'm trying to configure OpenVPN to update DNS-servers as described here. That seems to work, but resolvconf prepends nameservers (and also search domains) to the list of existing nameservers. How can ...
3
votes
1answer
49 views

Reverse DNS does not match SMTP Banner for multidomain hosting

We are planing for mail hosting, we are going to host multiple customer mail domain on single public IP. Now how i am going to set PTR record per customer? because i have single IP and it has to be ...
1
vote
1answer
50 views

DNS: Can I list 1 host in 2 separate domains?

I want to test something, but I lack sufficient number of machines so I was going to overlay a subnetwork listing the same hosts under different names. I can't think of any problem with this, but I ...
2
votes
1answer
69 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
275 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
24 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
24 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
45 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 ...
1
vote
1answer
23 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
50 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
124 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
38 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
28 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
101 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
27 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
29 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
48 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
72 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
123 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
41 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
24 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
61 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
67 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
84 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
42 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
92 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
28 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
85 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
28 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
71 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
415 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
31 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
304 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
50 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
20 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
116 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
47 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
29 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
207 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
25 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
86 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
22 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 ...